Node.js 7.0預計在9月30日發佈,支持async/await,Koa 2.x也將隨之發佈

https://github.com/nodejs/node/milestone/15?closed=1node

We did change the naming of v6 from Stable to Current as well, so I am assuming that v7 will also be named as "Current" vs "Stable"git

  • 已完成v8 5.4版本集成,也就是說支持async/await
  • koa 2.x也將隨之發佈,媽媽不再擔憂我用bable的async/await調試了
  • upgrade libuv to 1.10.0
  • using openssl 1.1.0

這個國慶節,又要(。・∀・)ノ゙嗨了github

異步流程async/await終於落地了koa

之前

all.png

之後

suggest.png

若是看不懂就請看這篇教程異步

全文完async

相關文章
相關標籤/搜索