|
|
|
|
|
by notus
2712 days ago
|
|
Ryan Dahl seemed to imply that promises were a necessary pre-requisite for async/await. https://medium.com/@imior/10-things-i-regret-about-node-js-r... I don't have the actual transcript so summarizing based off of someone else's comments: * I added promises to Node in June 2009 but foolishly removed them in February 2010.
* Promises are the necessary abstraction for async/await.
* It's possible unified usage of promises in Node would have sped the delivery of the eventual standardization and async/await.
* Today Node's many async APIs are aging badly due to this. |
|