Class StateComputation<C, S, E>Abstract

StateComputation abstracts the State Computation algorithm by using a decider of type IDecider<C, S, E> to handle commands based on the current state, and produce new state.

Type Parameters

  • C

    Commands of type C

  • S

    State of type S

  • E

    Events of type E

Hierarchy (view full)

Implements

Constructors

Properties

decider: IDecider<C, S, E>
initialState: S

Methods

Generated using TypeDoc