Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
208: add stream::join r=stjepang a=yoshuawuyts Ref #129 #187. This adds the `stream::join` which can join multiple streams into a single stream. Thanks! ## Example ```rust let a = stream::once(1u8); let b = stream::once(2u8); let c = stream::once(3u8); let mut s = stream::join!(a, b, c); assert_eq!(s.collect().await, vec![1u8, 2u8, 3u8]); ``` ## Screenshot ![Screenshot_2019-09-17 async_std stream - Rust](https://user-images.githubusercontent.com/2467194/65080099-cedb8b00-d9a0-11e9-984f-edd7d6bad5cc.png) Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
- Loading branch information