News for hackers. Stuff that matters.
Re:fs.promises.readFile is 40% slower than fs.readFile by idbehold on Thursday March 04, 2021 @09:39AM (#26342986)
Actually I was completely wrong. They added support for consuming an AbortSignal in the old callback style methods as well. Now I'm at a loss as to why they even have two different implementations instead of just doing something like:

    fs.promises.readFile = util.promisify(fs.readFile);

There are no comments on this comment yet.