Function mergeMap

  • Create an event source by merging sources created by mapping events to sources

    The resulting source issues events whenever any of the input sources do, and closes once they all do (or throws if any of them do).

    (Note: this is just shorthand for compose(map(mapper), mergeAll).)

    Type Parameters

    • T
    • R

    Parameters

    Returns Transformer<T, R>