a function with the form of (state: TState, event: TEvent) => TState
ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
state that will be reduced will the first event or state at time 0
Generated using TypeDoc
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 subscribersReturns
operator function to reduce state and events over time