Class ReduceStore<State, Event, HandlerOpts>

A ReactiveStore that is updated by a reducer function.

Type Parameters

  • State

  • Event

  • HandlerOpts = object

Hierarchy

Implements

Constructors

Properties

eventBus: MessageBus<State, State, object> = ...

Output event bus.

reducer: MessageReducer<State, Event, HandlerOpts>

Reducer to use.

Accessors

Methods

  • Returns Promise<void>

  • Returns AsyncIterableIterator<State>

Generated using TypeDoc