> On Aug 4, 2015, at 1:32 PM, Andrea Giammarchi <[email protected]>
> wrote:
>
> only promises that has passed through their initialization the callback would
> be cancelable,and this could be reflected through a `.cancelable` property
That's precisely the problem. When you made a mistake and thought a function
should have the ability to abort, you wouldn't reflect that `.cancelable`
property, you would simply call abort(). Passing a different object makes this
less likely to happen since it's not thenable.
> and pragmatists would never find out what should be the behavior once aborted
> 'cause Promise can only reject and never be ignored.
What do you think of the ignore() method I proposed?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss