Add the settle method to the bluebird 3.x library.
You're project must already have bluebird installed via npm. This module will not include bluebird for you, but it will add the settle method to any version of bluebird that you are using.
var Promise = ;var promises =PromisePromisePromise;Promise;/*Sample OutputResolved with value: trueResolved with value: YesRejected with reason: Error: Foo*/
You only need to require the
bluebird-settle library once. You can require it over and over if you want, but you only have to require it once. For example:
;var foo = ;...
var Promise = ;console; // true...