Click or drag to resize
Akka.NETPersistentFSMBaseTState, TData, TEventWhen Method

Namespace:  Akka.Persistence.Fsm
Assembly:  Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public void When(
	TState stateName,
	PersistentFSMBaseTState, TData, TEventStateFunction func,
	Nullable<TimeSpan> timeout = null
)

Parameters

stateName
Type: TState
designator for the state
func
Type: Akka.Persistence.FsmPersistentFSMBaseTState, TData, TEventStateFunction
delegate describing this state's response to input
timeout (Optional)
Type: SystemNullableTimeSpan
default timeout for this state
See Also