Switch<T> extension

A utility to take events from the most recent sub stream returned by a callback.

on

Methods

switchMap<S>(Stream<S> convert(T)) Stream<S>
Maps events to a Stream and emits values from the most recently created Stream.