Tried the return Promise pattern and got me here: fs.open(path,'r') .then(fd => fs.write(data)) .then(written => fs.close(/* fd?*/))
-
-
@yoshuawuyts@trevnorris (I wrote a bit about this here: https://medium.com/@isntitvacant/observations-on-promises-2b08a0d0c27#.h92r7ocje … )Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.