| TestFSMRefTActor, TState, TDataSetState Method (TState, TData, NullableTimeSpan, FSMBaseReason) |
Change FSM state. This method is directly equivalent to a
corresponding transition initiated from within the FSM, including timeout
and stop handling.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public void SetState(
TState stateName,
TData stateData,
Nullable<TimeSpan> timeout = null,
FSMBaseReason stopReason = null
)
member SetState :
stateName : 'TState *
stateData : 'TData *
?timeout : Nullable<TimeSpan> *
?stopReason : FSMBaseReason
(* Defaults:
let _timeout = defaultArg timeout null
let _stopReason = defaultArg stopReason null
*)
-> unit
Parameters
- stateName
- Type: TState
TBD - stateData
- Type: TData
TBD - timeout (Optional)
- Type: SystemNullableTimeSpan
TBD - stopReason (Optional)
- Type: Akka.ActorFSMBaseReason
TBD
See Also