Does anyone have an opinion on this topic as of 2019? I’m working with the fs module in node.js that I need a lot of asynchronous functionality in. The current code I’m migrating over is using Bluebird to promisify the fs module, but since it was written, there have been a lot of updates to nodes promise capabilities. The fs.promises API built into node seems great, but it still comes with an EXPERIMENTAL warning that isn’t recommended for Production code as of now. Anyone have any experience with deciding between these different approaches these days and know what is fastest? From everything I read online, Bluebird still seems to be the most efficient way to handle it, especially with its handy, built-in Promise.map() and Promise.filter() methods, but I can’t find much documentation or comments on it that are less than 3 years old
Submitted July 13, 2019 at 03:27PM by texpatnyc
No comments:
Post a Comment