 | TestFSMRefTActor, TState, TDataSetState Method (TState, NullableTimeSpan) |
Change FSM state; but keeps the current state data.
This method is directly equivalent to a transition initiated from within the FSM.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic void SetState(
TState stateName,
Nullable<TimeSpan> timeout = null
)
member SetState :
stateName : 'TState *
?timeout : Nullable<TimeSpan>
(* Defaults:
let _timeout = defaultArg timeout null
*)
-> unit
Parameters
- stateName
- Type: TState
TBD - timeout (Optional)
- Type: SystemNullableTimeSpan
TBD
See Also