co-fs icon indicating copy to clipboard operation
co-fs copied to clipboard

Time to update for async supporting

Open Globik opened this issue 8 years ago • 2 comments

It's time to update all stuff. Does not work with async await. No thunkify. There is a native Promise object!

Globik avatar Jun 05 '17 14:06 Globik

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)})})}

Globik avatar Jun 05 '17 14:06 Globik

Time to update for async supporting

fengshenhai-0727 avatar Jul 10 '18 03:07 fengshenhai-0727