Akka.NET Documentation
Akka.NET Documentation
API Reference
Akka.Actor
FSM(TState, TData) Class
FSM(TState, TData) Methods
CancelTimer Method
GoTo Method
Initialize Method
IsTimerActive Method
LogTermination Method
OnTermination Method
OnTransition Method
PostStop Method
Receive Method
SetStateTimeout Method
SetTimer Method
StartWith Method
Stay Method
Stop Method
Transform Method
When Method
WhenUnhandled Method
FSM
TState
,
TData
Initialize Method
Verify the existence of initial state and setup timers. This should be the last call within the constructor or
PreStart
and
PostRestart(Exception)
.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
C#
F#
Copy
public
void
Initialize
()
member
Initialize
:
unit
->
unit
Exceptions
Exception
Condition
IllegalStateException
This exception is thrown when this method is called before
StartWith(TState, TData, Nullable
TimeSpan
)
is called.
See Also
Reference
FSM
TState, TData
Class
Akka.Actor Namespace
Akka.NET Home
|
Learn Akka.NET