State<(Of <(<'TS, TD>)>)>..::..ForMax Method

Modify the state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.

Remarks


Use MaxValue to cancel a timeout.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll)

Syntax


public FSMBase..::..State<TS, TD> ForMax(
	TimeSpan timeout
)
Public Function ForMax ( _
	timeout As TimeSpan _
) As FSMBase..::..State(Of TS, TD)
public:
FSMBase..::..State<TS, TD>^ ForMax(
	TimeSpan^ timeout
)

Parameters

timeout
Type: TimeSpan