v2.0.0
Changelog
This is a completely rewritten version of Promise
in python, based in the ultra-performant and low-memory bluebird.js promise implementation.
- New dataloader implementation
Promise.resolve
now acts the same asPromise.cast
Promise.reject
is now a static method (instead of a instance one, like in previous versions)- New
Promise.all
fast implementation. promise.get
raised exceptions now include traceback.- Custom schedulers for
Promise
resolution.
Deprecation
Promise.promisify
is now a function wrapper, that executes the function, but returning aPromise
. CallingPromise.promisify
on a static value will be deprecated in next versions.promise.fulfill
is renamed topromise.do_fulfill
promise.rejected
/promise.reject
is renamed topromise.do_reject