Function startWith

  • Calls the given provider function when a new subscriber subscribes and delivers the result of this call as first value.

    Type Parameters

    • T

    Parameters

    • provider: (() => T)

      function that should be called

        • (): T
        • Returns T

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

      • (source): Observable<T>
      • Parameters

        • source: Observable<T>

        Returns Observable<T>

Generated using TypeDoc