TraversalConfig <TSnapshot, TEvent>
Hierarchy
- SerializationConfig<TSnapshot, TEvent>
- TraversalConfig
Index
Properties
events
filter
Type declaration
Parameters
state: TSnapshot
event: TEvent
Returns boolean
fromState
serializeEvent
Type declaration
Parameters
event: TEvent
Returns string
serializeState
Type declaration
Parameters
state: TSnapshot
event: undefined | TEvent
optionalprevState: TSnapshot
Returns string
stopCondition
When true, traversal of the adjacency map will stop for that current state.
toState
traversalLimit
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.