Top "Bluebird" questions

Bluebird is a fully featured promise library for client and server JavaScript with focus on innovative features and performance.

How do I use Bluebird with Angular?

I tried using Angular with Bluebird promises: HTML: <body ng-app="HelloApp"> <div ng-controller="HomeController">{{name}} {{also}}&…

javascript angularjs promise bluebird angular-promise
Stop running processes after a Promise is rejected

I'm using the following code which working OK, but the problem is that when I get an error, I want …

javascript node.js promise bluebird
Asynchronous exception handling with bluebird promises

What is the best way to handle this scenario. I am in a controlled environment and I don't want to …

javascript node.js asynchronous promise bluebird
Best way to handle nested Promises (bluebird)

I have the following promise chain below and it appears to be quite messy (Each _create* function returns a promise): …

javascript promise bluebird
NodeJS, promises, streams - processing large CSV files

I need to build a function for processing large CSV files for use in a bluebird.map() call. Given the …

node.js promise bluebird pg-promise
ES6 Promise / Typescript and the Bluebird Promise

I have a nodejs / typescript 2 project and use the es6-promise package. Now i would like to get rid of …

javascript typescript ecmascript-6 bluebird
Unhandled rejection error Bluebird

I have the following code. And it works as expected without throwing a unhandled rejection error. p = new Promise (fulfill, …

javascript coffeescript bluebird es6-promise unhandled-exception
Setting a timeout for each promise within a promise.all

I am able to successfully perform a Promise.all, and gracefully handle resolves and rejects. However, some promises complete within …

javascript angularjs angular-promise es6-promise bluebird