async-stream icon indicating copy to clipboard operation
async-stream copied to clipboard

Asynchronous streams for Rust using async & await notation

Results 25 async-stream issues
Sort by recently updated
recently updated
newest added
trafficstars

This is a post to share experiment, not actual pull request. But its result is too impressive I couldn't resist sharing them. On my not-so-strict linux env, it shows clear...

Admittedly I'm a beginner at Rust, but it seems like `Stream`s don't provide any way to signal when the consumer is done, so I'm wondering how I would clean up...

From https://github.com/tokio-rs/async-stream/blob/7f9ef66647e4cf65340b9971219031a4b06c499b/async-stream-impl/src/lib.rs it seems that the only difference between `stream!` and `try_stream!` is that `try_stream!` wraps yielded items in an `Ok`. Is this true? If so, adding a line saying...

There's an old issue (#28) that asked for this and was closed because a `&self` method was added to `AsyncStream` in #40. The issue has a pretty good description of...

Since async closure has been stabilized for a while, I made a solution that generally follows this crate's idea but allow to make an async stream without macro. I'd like...