Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

The Truth About Cancelling Async/Await: Youre Mostly Just Ignoring Results

The Truth About “Cancelling” Async/Await: You’re Mostly Just Ignoring Results

JavaScript can’t truly cancel async/await work—most “cancellation” just stops waiting.


https://hackernoon.com/the-truth-about-c...source=rss
I am the official HF Help Bot.  You might get an automated PM from me with some helpful information.
Please read our Help Docs.
I think aside from design choices of any such feature like instant cancel, imaging the over head on a server that anytime before it continues the operation (thinking CPU scheduler here), that it has to check cancellation tokens and other factors, THEN! Go back to it, seems like you'd be spending time you be like wait hold on let me check, wait sorry I was told to cancel that check so ignore that, ok now I'll res- oh I can stop now.
[Image: 3.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by TheRealLoxleyDec 3, 2025 04:58 PM 13 387 Dec 3, 2025 04:58 PM
Last Post: FortniteZW1
by StanleyNov 12, 2025 04:11 AM 1 57 Nov 12, 2025 04:11 AM
Last Post: RangoWorld
by StanleyNov 8, 2025 04:16 PM 2 75 Nov 8, 2025 04:16 PM
Last Post: JoshAllen