@jewel998/state-machine - v0.0.5 / Transition
Interface: Transition<TContext, TState, TEvent>
Type parameters
| Name | Type |
|---|---|
TContext | extends ContextConstraint |
TState | extends StateIdentifier |
TEvent | extends EventIdentifier |
Table of contents
Properties
Properties
from
• Readonly from: TState
Defined in
src/interfaces/ConfigurationTypes.ts:36
to
• Readonly to: TState
Defined in
src/interfaces/ConfigurationTypes.ts:37
event
• Readonly event: TEvent
Defined in
src/interfaces/ConfigurationTypes.ts:38
guard
• Optional Readonly guard: GuardFunction<TContext>
Defined in
src/interfaces/ConfigurationTypes.ts:39
action
• Optional Readonly action: ActionFunction<TContext>
Defined in
src/interfaces/ConfigurationTypes.ts:40
transaction
• Optional Readonly transaction: TransactionFunction<TContext>
Defined in
src/interfaces/ConfigurationTypes.ts:41
rollback
• Optional Readonly rollback: RollbackFunction<TContext>
Defined in
src/interfaces/ConfigurationTypes.ts:42
metadata
• Optional Readonly metadata: Readonly<Record<string, string | number | boolean>>