Comment Comment by Mitranim Posterus provides coroutines just for that: https://github.com/Mitranim/posterus#routinePosterus coroutines are similar to async/await, but cancelable and free of `await`'s race condition problem (promise can get rejected before `await` attaches a handler). parent Mitranim 9 years ago
Posterus coroutines are similar to async/await, but cancelable and free of `await`'s race condition problem (promise can get rejected before `await` attaches a handler).