nodejs完全支持promise了,现在还需要再用Bluebird这类三方库了吗如题
高洛峰2017-04-17 16:26:36
Node nativePromise
在效率上比callback
差很多,bluebird
好像和callback
效率很接近.用bluebird
is still very suitable.
PHP中文网2017-04-17 16:26:36
Node’s native promises are said to be less efficient than bluebird. Not sure exactly. .
ringa_lee2017-04-17 16:26:36
There are a lot of methods in bluebird that are not included in ES6.
怪我咯2017-04-17 16:26:36
Waiting for the next version of v8, the speed will be qualitatively improved. https://v8project.blogspot.co...
ringa_lee2017-04-17 16:26:36
1. Bluebird has higher performance than native
2. Bluebird not only implements the Promise/A+ standard, but also extends many practical methods
3. If it is a browser project, use native, bluebird is larger