• Projects the activated state of the observable

    Type Parameters

    • T

    Parameters

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

      Callback triggered whenever the active state changes

        • (subscribed): void
        • Parameters

          • subscribed: boolean

          Returns void

    Returns MonoTypeOperatorFunction<T>

  • Projects the activated state of the observable

    Type Parameters

    • T

    Parameters

    • state$: Subject<boolean>

      A subject that will receive the current active state

    Returns MonoTypeOperatorFunction<T>