If I want to combine multiple same-typed streams into one, I would use Stream::select
:
let combined = first_stream.select(second_stream)
However, once one of the streams is exhausted, the other can still produce results for the combined stream. What can I use to exhaust the combined stream once either of the underlying streams is exhausted?