Hacker News new | ask | show | jobs
by thayne 1234 days ago
Rust async functions are basically coroutines that suspend when you use await. Except that you can't return intermediate results (although once Generators are stabilized, that should resolve that use case).