yoshuawuyts / futures-concurrency

Structured concurrency operations for async Rust
https://docs.rs/futures-concurrency
Apache License 2.0
413 stars 33 forks source link

Add `{Future,Stream}::wait_until` #167

Closed yoshuawuyts closed 7 months ago

yoshuawuyts commented 8 months ago

Makes progress towards lifting some of the items from futures-time into this crate: https://github.com/yoshuawuyts/futures-time/issues/5#issuecomment-1656982002

Critically this does not introduce any additional runtime dependencies; it's mostly just new control flow constructs based on the race concurrency primitive.

yoshuawuyts commented 8 months ago

Both clippy and miri run on nightly, which is currently failing because of https://github.com/rust-lang/rust/issues/121708. We should probably wait for that to resolve before merging.