Function replayOn

  • Replays the last value of 'source' whenever 'signal' emits a value.

    marble
    source: -a---b---c---|
    signal: ------1----2-|
    result: -a---bb--c-c-|

    Type Parameters

    • T

    Parameters

    • signal: Observable<any>

      trigger observable to replay value of source

    Returns ((source) => Observable<T>)

      • (source): Observable<T>
      • Parameters

        • source: Observable<T>

        Returns Observable<T>

Generated using TypeDoc