Practical Node.js (2018版) 14章, async code in Node

Asynchronous Code in Node


历史上,Node开发者只能用回调和事件emitters。

现在可以使用一些异步的语法:

  • async module
  • Promises
  • Async/await funcitons

猜你喜欢

转载自www.cnblogs.com/chentianwei/p/10351476.html