Function mapToLatestFrom

  • Emits the latest value of the given Observable every time the source Observable emits a value.

    source:               -1---2--3------4-|
    inner: ---a------b--c---|
    mapToLastFrom(inner): -----a--a------c-|

    Type Parameters

    • T

    Parameters

    • inner$: Observable<T>

    Returns OperatorFunction<any, T>