You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wandering if we could have a method to fork/split/broadcast/unzip/switch a Stream into two Streams. We do have a unzip now, but it returns two container, which is not symmetric to zip.
fn unzip() -> (LeftStream<L>, RightStream<R>) where Self: Stream<(L, R)>
fn switch(test: T => bool) -> (TrueStream<T>, FalseStream<T>)
The text was updated successfully, but these errors were encountered:
Earthson
changed the title
Feature requirement: unzip() -> (LeftStream, RightStream)
Feature Request: unzip() -> (LeftStream, RightStream)
Feb 18, 2020
Earthson
changed the title
Feature Request: unzip() -> (LeftStream, RightStream)
Feature Request: fork/split/broadcast/unzip/switch a Stream into two
Feb 18, 2020
I was wandering if we could have a method to
fork/split/broadcast/unzip/switch
a Stream into two Streams. We do have aunzip
now, but it returns two container, which is not symmetric tozip
.fn unzip() -> (LeftStream<L>, RightStream<R>) where Self: Stream<(L, R)>
fn switch(test: T => bool) -> (TrueStream<T>, FalseStream<T>)
related works: #543
https://docs.rs/broadcaster/1.0.0/broadcaster/
The text was updated successfully, but these errors were encountered: