const Future = require('fibers/future')
function myfunc() {
var future = new Future();
Eos().getInfo((err, res) => {
future["return"]=res;
})
return future.wait();
};
console.log(myfunc());
The Error is can't wait without a fiber please help me with this