3 ms·
Rust async functions are basically coroutines that suspend when you use await. Except that you can't return intermediate results (although once Generators are
by thayne 4y 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).