Function eventReducer

  • Creates a function that once applied to a stream of events will reduce state and events over time similar to rxjs scan operator but will multicast values to subscribers

    Returns

    operator function to reduce state and events over time

    Type Parameters

    • TState

    • TMessage

    Parameters

    Returns ((source$: Observable<TMessage>) => Observable<TState>)

      • (source$: Observable<TMessage>): Observable<TState>
      • Parameters

        • source$: Observable<TMessage>

        Returns Observable<TState>

Generated using TypeDoc