Changelog
3.4.3
Changelog
3.4.0
when.filter
for filtering arrays of promises.when.map
and when.filter
now provide the array index as the second param to their mapping and filtering functions.when/keys.map
now provides the associated key to its mapping function.Changelog
3.2.3
Changelog
3.2.1
when.all
JSON.stringify
exceptions when formatting unhandled rejection output.Changelog
3.2.0
console.error
by default, even without using done
or when/monitor/console
. As before, enabling when/monitor/console
still adds long async stack traces, and using done
still makes errors fatal. See Debugging Promises for more info.promise.timeout
now rejects with a TimeoutError
by default (unless you specify a custom reason) for better pattern matching with promise.catch
.when.all
(and Promise.all
in the ES6-shim) and node.lift
: lifted functions and lifting are faster now.promise.fold
for combining two promises to generate a new promise.when/node.lift
, when/function.lift
, and when/callbacks.lift
to provide partial argumentspromise.then
's 3rd argument, and when()
's 4th argument. Use the dedicated promise.progress
API to listen to promise progress events.when.some
. See https://github.com/cujojs/when/issues/288when/callbacks.promisify
See https://github.com/cujojs/when/issues/318