External Publication
Visit Post

[Discussion] Alternative syntax for async iteration: `for async i in stream`?

Rust Internals [Unofficial] May 26, 2026
Source

jrose:

The await in for await is trying to suggest a very specific meaning: "there is a suspension point here, unwrapping a future

Make sense and very helpful for me, thank you!!!

Now I would like for x await in X construction btw . Not about for and for await , but in and await in in async iteration (more declarative).

Discussion in the ATmosphere

Loading comments...