Click or drag to resize
Akka.NETTestFSMRefTActor, 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
)

Parameters

stateName
Type: TState
TBD
stateData
Type: TData
TBD
timeout (Optional)
Type: SystemNullableTimeSpan
TBD
stopReason (Optional)
Type: Akka.ActorFSMBaseReason
TBD
See Also