SwitchMapStreamTransformer<S, T> constructor
SwitchMapStreamTransformer<S, T> (
- Stream<
T> mapper(- S value
Constructs a StreamTransformer which maps each event from the source Stream
using mapper
.
The mapped Stream will be be listened to and begin emitting items, and any previously created mapper Streams will stop emitting.
Implementation
SwitchMapStreamTransformer(this.mapper);