• Projects the state of the observable State is true while the observable is active, but hasn't emitted a value

    Type Parameters

    • T

    Parameters

    • onState: ((loadingFirst: boolean) => void)

      Callback triggered whenever the state changes

        • (loadingFirst): void
        • Parameters

          • loadingFirst: boolean

          Returns void

    Returns MonoTypeOperatorFunction<T>

  • Projects the state of the observable State is true while the observable is active, but hasn't emitted a value

    Type Parameters

    • T

    Parameters

    • state$: Subject<boolean>

      A subject that will receive the current state

    Returns MonoTypeOperatorFunction<T>