51

从零开始写一个 Promise 库

 6 years ago
source link: https://zhuanlan.zhihu.com/p/35697919?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
原文:Write Your Own Node.js Promise Library from Scratch 作者:code_barbarianPromise 已经是 JavaScript 中异步处理的基石,回调的场景将会越来越少,而且现在可以直接在 Node.js 使用 async/await。async/a…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK