16 ms·
I've been using genawaiter[1] for writing generators in Rust. Are there things you can't build on top of async-await? Or is it just that it's simpler without th
by pflanze 3y ago
I've been using genawaiter[1] for writing generators in Rust. Are there things you can't build on top of async-await? Or is it just that it's simpler without that indirection?
[1]: https://crates.io/crates/genawaiter https://crates.io/crates/genawaiter
- vacuity 3y agoI was thinking that the semantics around async/await (function coloring) would make some usages more frustrating. This crate probably sidesteps that, if it is a problem at all. I have a bad habit of not dabbling around when I lack understanding.
- duped 3y agoThis feels circular, since async/await is futures which are generators