Our system required functions to be tagged `async` so the compiler could insert param; bifurcates
http://joeduffyblog.com/2015/11/19/asynchronous-everything/ …
-
-
-
speaking of Midori, Rust was able to make cancellation fully RAII. Kind of beautiful.
-
I don't mind tagging, but async function already means something. The presence of `await.cancel` may be sufficient.
-
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.
- 2 more replies
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.