it gets conferred by `task` or `await`
function fetch(url) { return new Promise((res, rej) => { xhr.oncomplete(res) await.cancel.oncancel(xhr.abort) }); }
-
-
something along these lines for last mile (arrows capture await.cancel like other meta properties)
-
This is important (run down IOs, etc). The awaiter gets canceled by await-side token too, I assume(?), but that's half the picture.
-
ran out of space, but promise constructor would reject upon handling cancel request.
-
Sounding really great. If you want an extra pair of eyes on any proposals here, I am happy to help in any way I can.
-
I'll reach out :)
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.