| PersistentFSMBaseTState, TData, TEventWhen Method |
Namespace:
Akka.Persistence.Fsm
Assembly:
Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public void When(
TState stateName,
PersistentFSMBaseTState, TData, TEventStateFunction func,
Nullable<TimeSpan> timeout = null
)
member When :
stateName : 'TState *
func : PersistentFSMBaseTState, TData, TEventStateFunction *
?timeout : Nullable<TimeSpan>
(* Defaults:
let _timeout = defaultArg timeout null
*)
-> unit
Parameters
- stateName
- Type: TState
designator for the state - func
- Type: Akka.Persistence.FsmPersistentFSMBaseTState, TData, TEventStateFunction
delegate describing this state's response to input - timeout (Optional)
- Type: SystemNullableTimeSpan
default timeout for this state
See Also