| PersistentFSMBaseTState, TData, TEventGoTo Method (TState, TData) |
Produce transition to other state. Return this from a state function
in order to effect the transition.
Namespace:
Akka.Persistence.Fsm
Assembly:
Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public PersistentFSMBaseTState, TData, TEventState GoTo(
TState nextStateName,
TData stateData
)
member GoTo :
nextStateName : 'TState *
stateData : 'TData -> PersistentFSMBaseTState, TData, TEventState
Parameters
- nextStateName
- Type: TState
State designator for the next state - stateData
- Type: TData
Data for next state
Return Value
Type:
PersistentFSMBaseTState, TData, TEventStateState transition descriptor
See Also