News for hackers. Stuff that matters.
Re:Await in Rust by amaranth on Monday August 12, 2019 @11:33AM (#20676361)
Top-level await is still a problem but a Promise version of the `fs` API has been available since Node v10.

https://nodejs.org/api/fs.html#fs_fspromises_readfile_path_o...

Re:Await in Rust by eropple on Monday August 12, 2019 @11:36AM (#20676386)
TIL - never looked. (Most of our stuff is stuck on 8.x and I've got some work to do to upgrade us; never looked at the changes!) Thanks for the pointer.