for-streams 0.1.1

like `select!` in a loop, but specifically for `Stream`s, with fewer footguns and several convenience features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! The main purpose of this example is to have something minimal to `cargo expand` when I'm
//! debugging compiler errors in the macro.

use for_streams::for_streams;

#[tokio::main]
async fn main() {
    let stream = futures::stream::iter(0..5);
    for_streams! {
        _ in stream => {}
    }
}