I replied on Hacker News with my feelings (as a TC39 member) about what's happening with promise cancellation: https://news.ycombinator.com/item?id=13214487 …
-
-
Replying to @wycats @sindresorhus
I should write on why I think the whole debate is missing the point, but then I'd need to have time to champion ;)
1 reply 0 retweets 0 likes -
-
Replying to @wycats @sindresorhus
Step 1: recognize cancellation doesn't belong being an async primitive, and a sync one interops for all.
2 replies 0 retweets 0 likes -
Step 2: go back and champion Task, built overtop of CancellationToken + Promises
1 reply 0 retweets 0 likes -
Replying to @Runspired @sindresorhus
Y U NO read my HN commentpic.twitter.com/Bd4Xd4iWPo
1 reply 0 retweets 1 like -
Replying to @wycats @sindresorhus
I did, but my point is that Task implements Token+Promise, not the primitive itself.
1 reply 0 retweets 0 likes
Replying to @Runspired @sindresorhus
I think rebooting with Task is likely the best idea (task is tuple of promise + token) but hard.
6:07 PM - 19 Dec 2016
0 replies
2 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.