: I'm not a big defender of tc39 but this is hugely ahistorical
-
-
: promises (or analogues) have been ubiquitous on the client side for a decade or more
2 replies 0 retweets 0 likes -
too late for promises to have cancellation. Cancellation tokens feel like forced API rather than natural
1 reply 0 retweets 2 likes -
Replying to @satya164 @andrestaltz
: it's not too late; proposals are moving forward
1 reply 0 retweets 0 likes -
It's too late considering we can't break existing APIs, all we can do is workarounds
1 reply 0 retweets 0 likes -
Replying to @satya164 @slightlylate and
Do you think cancellation tokens feel natural? I certainly don't
1 reply 0 retweets 0 likes -
Replying to @satya164 @slightlylate and
To be fair, I don't mind cancellation tokens. I don't think we've other options for promise cancellation
1 reply 0 retweets 0 likes -
Replying to @satya164 @slightlylate and
But in observables, it's subscription objects, not cancelling an action, but stopping subscription
2 replies 0 retweets 0 likes -
Replying to @satya164 @slightlylate and
I dunno why we need the same semantics at all when the action itself is different
1 reply 0 retweets 0 likes
: language design is hard because layers & APIs must integrate; else, usability #fail
-
-
I agree with it. But is cancellation === unsubscribe?
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.