bluebird , as I understand it, is a library of promises.
But why is it needed, if in ES6 it supports promises?
Or is bluebird the same promises as in native ES6, only with additional improvements?
- oneAssociation: stackoverflow.com/q/34960886/2076787 - D-side
- @ D-side Still there is a module fs require ('fs'); You can say a few words about him. Is it also a library of promises like bluebird? - Artem PeGaS
- Where does this conclusion come from? - D-side
- oneThis is the NodeJS model, which provides work with the file system. JS does not have these interfaces, so this is a pure node module. Although asynchronous operations are there and they can already be wrapped in promise, although not necessary, because there are synchronous analogues. - user207618
- oneBluebird was written when there were no native promises, but the specification was already there. And they are still in some places faster than native promises - Alexey Ten
|