FSMTState, TDataWhen Method |
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic void When(
TState stateName,
FSMTState, TDataStateFunction func,
Nullable<TimeSpan> timeout = null
)
Public Sub When (
stateName As TState,
func As FSMTState, TDataStateFunction,
Optional timeout As Nullable(Of TimeSpan) = Nothing
)
public:
void When(
TState stateName,
FSMTState, TDataStateFunction^ func,
Nullable<TimeSpan> timeout = nullptr
)
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