Interface AggregateProjection<State, Event>

Aggregate state projection.

interface AggregateProjection {
    reduce(store, event, options?): MaybePromise<State>;
    validate(store, event, options?): MaybePromise<undefined | Error>;
}

Type Parameters

  • State

  • Event

Methods

Generated using TypeDoc