Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Feb 16, 2024
1 parent 04ddffe commit a7b6c08
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/concurrent_stream/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
//! Concurrent execution of streams
//!
//! Pitch: we don't want to ever work with a `Stream<Item = impl Future>` for
//! concurrency; what we really want is a `ConcurrentAsyncIterator` trait which
//! does all the right things for us.
//!
//! # todos
//!
//! - [x] base function impl based on `StreamGroup`
//! - [ ] write integration tests to validate the impl
//! - [ ] split it out into its own trait, and `for_each` into its own method
//! - [ ] split `limit` out into its own method
//! - [ ] implement a `map` method
//! - [ ] implement a `collect` method
use crate::future::{FutureGroup, Race};
use futures_lite::{Stream, StreamExt};
Expand Down

0 comments on commit a7b6c08

Please sign in to comment.