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.
Summary not yet generated for this article.
Comments (37 of ) ⌛