Time to update for async supporting
Opened this issue · 2 comments
Globik commented
It's time to update all stuff. Does not work with async await.
No thunkify. There is a native Promise object!
Globik commented
Something like this
methods.forEach bla bla bla
exports[name]=(...n)=>{return new Promise((res,rej)=>{
fs[name](...n,(er,d)=>{
if(er)rej(er)
res(d)})})}
fengshenhai-0727 commented
Time to update for async supporting