Re:Cancelable Promises: Why was this proposal withdrawn?
by cwmma on Monday December 19, 2016 @08:19AM
(#13211174)
fixed the spelling and you're right it's not a super common requirement, but it comes up in context of designing APIs to use promises, and if you are trying to add promises to an API that is cancelable, you'd want some way to express that.
[ Parent
| on HN ]
Re:Cancelable Promises: Why was this proposal withdrawn?
by Rapzid on Monday December 19, 2016 @08:49AM
(#13211326)
Do you have any idea what the current direction is(if any?) that they are moving in? I'm mostly familiar with the use of tokens; Golang using Context and C# using CancelationToken.
I currently utilize cancellation tokens myself in nodejs(TypeScript) when creating libraries or wrapping the stdlib event/stream based stuff.