danieldg / ordered-stream

Apache License 2.0
11 stars 2 forks source link

Ability to split a `Join` back into 2 original streams #4

Closed zeenix closed 1 year ago

zeenix commented 1 year ago

Hi Daniel,

Long time, no see. :)

I was refactoring zbus::SignalStream and needed to get back my orignal MessageStream back from a Join for that. The use case is almost identical to your code here, except after the next call, I would like to keep the stream around.