Registry
@rotorsoft/act-root / act/src / Registry
Type Alias: Registry<TSchemaReg, TEvents, TActions>
Registry<
TSchemaReg,TEvents,TActions> =object
Defined in: libs/act/src/types/registry.ts:47
Registry of all actions and events for a domain.
Type Parameters
TSchemaReg
TSchemaReg extends SchemaRegister<TActions>
State schemas.
TEvents
TEvents extends Schemas
Event schemas.
TActions
TActions extends Schemas
Action schemas.
Properties
actions
readonlyactions:{ [TKey in keyof TActions]: State<TSchemaReg[TKey], TEvents, TActions> }
Defined in: libs/act/src/types/registry.ts:52
Map of action names to state definitions.
events
readonlyevents:EventRegister<TEvents>
Defined in: libs/act/src/types/registry.ts:55
Map of event names to event registration info.