Hacker News new | ask | show | jobs
by thayne 1402 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).