Hacker News new | past | comments | ask | show | jobs | submit login

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




I 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.


This feels circular, since async/await is futures which are generators




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: