Map each value of a stream to a substream, then output the resulting substreams until a new value arrives.
(This is just shorthand for compose(map(mapper),switchAll).)
compose(map(mapper),
switchAll)
(If you want to send all the values of each stream to the output without stopping, input stream, use concatMap or mergeMap instead.)
Map each value of a stream to a substream, then output the resulting substreams until a new value arrives.
(This is just shorthand for
compose(map(mapper),
switchAll)
.)(If you want to send all the values of each stream to the output without stopping, input stream, use concatMap or mergeMap instead.)