... the fact that async/await is considered superficial instead of *essential* blows my mind, btw.
Curious: how does Dart handle cancellation with async functions?
-
-
I don't think there is any builtin primitives for that /cc
@decdiv would know better - 1 more reply
New conversation -
-
-
why would you cancel a future?
-
maybe the user navigated away but the data was still loading for the previous page?
-
that's easily handled by modelling your state properly / even with fetch() :o
-
the most obv flaw of fetch is you can't cancel ... but you can also just not use the resp
-
I'd say having no useful stack traces in networking code could be considered a minor flaw.
-
that would be a nightmare; debugging csrf token retrieval with fetch/cors was not too far off
End of conversation
New conversation -
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.