GivenHandlers
@rotorsoft/act-root / act/src / GivenHandlers
Type Alias: GivenHandlers<TState, TActions>
GivenHandlers<
TState,TActions> ={ [TKey in keyof TActions]?: Invariant<TState>[] }
Defined in: libs/act/src/types/action.ts:334
Maps action names to invariants that must hold after the action.
Type Parameters
TState
TState extends Schema
State schema.
TActions
TActions extends Schemas
Action schemas.