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