Click or drag to resize
FSMTState, TDataWhen Method

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public void When(
	TState stateName,
	FSMTState, TDataStateFunction func,
	Nullable<TimeSpan> timeout = null
)

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