 | FSMTState, TDataWhen Method |
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic void When(
TState stateName,
FSMTState, TDataStateFunction func,
Nullable<TimeSpan> timeout = null
)
member When :
stateName : 'TState *
func : FSMTState, TDataStateFunction *
?timeout : Nullable<TimeSpan>
(* Defaults:
let _timeout = defaultArg timeout null
*)
-> unit
Parameters
- stateName
- Type: TState
designator for the state - func
- Type: Akka.ActorFSMTState, TDataStateFunction
delegate describing this state's response to input - timeout (Optional)
- Type: SystemNullableTimeSpan
default timeout for this state
See Also