You can’t cancel a JavaScript promise (except sometimes you can)
A promise that never resolves is a surprisingly clean way to interrupt an async function.
https://www.inngest.com/blog/hanging-promises-for-control-flow
Post #6671
1.55K

FR Front End World @front_end_first · 25.8K subscribers 