@kriskowal any thoughts on the best API to terminate network activity? Idea is let f = fetch(…); f.terminate(). But does it reject?
@annevk Cancelation of promises is a painful topic. This is what I have to say at the moment https://github.com/kriskowal/gtor/blob/master/cancelation.md …. Forever pending is ok.
-
-
-
- View other replies
-
@kriskowal@annevk Cool. My other concern is use cases where a generic promise utility doesn't get the notification that a promise is dead.0 retweets 0 likes -
@astronouth7303@annevk To be clear, I believe cancelation effecting a rejection is fine too.0 retweets 0 likes -
@kriskowal@annevk I like that better, if only so that downstream processes can clean up, resolve, etc. By smell, rejecting is better.0 retweets 0 likes -
@astronouth7303@annevk Be sure to read those posts I linked. There is a tension between unicast and broadcast over the robustness concern.0 retweets 0 likes -
@kriskowal@astronouth7303 https://github.com/slightlyoff/ServiceWorker/issues/625#issuecomment-75217729 … has a bunch of discussion resulting from reading that. It’s hard
-
-
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.
Anne van Kesteren
Kris Kowal
Jamie