Cancelable promises proposal
andrea.giammarchi at gmail.com
Wed Aug 5 20:42:06 UTC 2015
like I've said ...
On Wed, Aug 5, 2015 at 1:32 AM, Glen Huang <curvedmark at gmail.com> wrote:
> What do you think of the ignore() method I proposed?
... I don't want to express myself further.
I think this story should be split in few little stories. The first one
would be asking around how many here thinks Promises should be cancelable
in first place.
There's no equivalent like a silent failure in a synchronous like
await/generator world and since promises are apparently used as de-facto
pattern too deal with that, you'll find hard time to resolve this problem.
Once this abstraction/idea covers what developers think Promises should
cover, you might think about the how.
So, far in **months of discussions**, I still haven't seen any agreement
about "_Promises should definitively be cancelable_"
So good luck with that, I actually think these shouldn't but since these
have been used for things that **should** be cancelable, these should as
side effect :-(
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss