Cancel Promise pattern (no cancellable promises)

Igor Baklan io.baklan at gmail.com
Tue Jan 10 10:35:25 UTC 2017


Check on practice hove [bluebirdjs-cancellation](
http://bluebirdjs.com/docs/api/cancellation.html) works and find out that
[promise-executor](
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise#Parameters).``onCancel``
callback get executed before finally blocks of all affected promises, so
potential api for overriding default cancellation delivery mechanism/"rail"
(success/failure/cancellation) might exist still however I can not see them
in bluebirdjs documentation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170110/34a3e5bb/attachment.html>


More information about the es-discuss mailing list