Disappointing that most promise articles/tutorials reference Q as the preferred promise library, rather than bluebird - https://github.com/petkaantonov/bluebird
Bluebird is not only so fast that it's almost on par with callbacks[1], but also innovates on the ability to filter on catching different error types[2], support for generators[3], context binding[4] among other things.
Bluebird is not only so fast that it's almost on par with callbacks[1], but also innovates on the ability to filter on catching different error types[2], support for generators[3], context binding[4] among other things.
[1]: https://github.com/petkaantonov/bluebird/blob/master/benchma...
[2]: https://github.com/petkaantonov/bluebird/blob/master/API.md#...
[3]: https://github.com/petkaantonov/bluebird/blob/master/API.md#...
[4]: https://github.com/petkaantonov/bluebird/blob/master/API.md#...