Node.js 7.0 预计在9月30日发布,支持async/await,Koa 2.x也将随之发布
欢迎加入运维网交流群:263444886http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://my.oschina.net/img/hot3.pnghttp://onexin.iyunv.com/source/plugin/onexin_bigdata/https://static.oschina.net/uploads/logo/nodejs_IlxFc.png https://github.com/nodejs/node/milestone/15?closed=1
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"
[*] 已完成v8 5.4版本集成,也就是说支持async/await
[*] koa 2.x也将随之发布,妈妈再也不担心我用bable的async/await调试了
[*] upgrade libuv to 1.10.0
[*] using openssl 1.1.0
这个国庆节,又要(。・∀・)ノ゙嗨了
异步流程async/await终于落地了
以前
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://dn-cnode.qbox.me/FmbZcLrkY4ThT1yQoV9vnyPfioDV
以后
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://dn-cnode.qbox.me/FsP2jIneBIpGukP8pNW4ez7ps0qF
如果看不懂就请看这篇教程
[*] 《深入浅出js(Node.js)异步流程控制》 https://github.com/i5ting/asynchronous-flow-control
[*] 《Node.js最新技术栈之Promise篇》https://cnodejs.org/topic/560dbc826a1ed28204a1e7de
全文完
页:
[1]