TestModelOptions <TSnapshot, TEvent>
Hierarchy
- TraversalOptions<TSnapshot, TEvent>
- TestModelOptions
Index
Properties
optionalevents
optionalfilter
Type declaration
Parameters
state: TSnapshot
event: TEvent
Returns boolean
optionalfromState
logger
Type declaration
error: (msg: string) => void
Parameters
msg: string
Returns void
log: (msg: string) => void
Parameters
msg: string
Returns void
optionalserializeEvent
Type declaration
Parameters
event: TEvent
Returns string
optionalserializeState
Type declaration
Parameters
state: TSnapshot
event: undefined | TEvent
optionalprevState: TSnapshot
Returns string
serializeTransition
Type declaration
Parameters
state: TSnapshot
event: undefined | TEvent
optionalprevState: TSnapshot
Returns string
stateMatcher
Type declaration
Parameters
state: TSnapshot
stateKey: string
Returns boolean
optionalstopCondition
Type declaration
When true, traversal of the adjacency map will stop for that current state.
Parameters
state: TSnapshot
Returns boolean
optionaltoState
Type declaration
Parameters
state: TSnapshot
Returns boolean
optionaltraversalLimit
The maximum number of traversals to perform when calculating the state transition adjacency map.
Determines whether to traverse a transition from
state
onevent
when building the adjacency map.