Open bonsairobo opened 1 year ago
Here: https://docs.rs/futures/latest/futures/stream/trait.StreamExt.html#method.next
And the equivalent tokio docs: https://docs.rs/tokio-stream/latest/tokio_stream/trait.StreamExt.html#method.next
I think it's critical that users know if stream items can be accidentally dropped if the future is cancelled.
I would accept a PR to document this.
Here: https://docs.rs/futures/latest/futures/stream/trait.StreamExt.html#method.next
And the equivalent tokio docs: https://docs.rs/tokio-stream/latest/tokio_stream/trait.StreamExt.html#method.next
I think it's critical that users know if stream items can be accidentally dropped if the future is cancelled.