Actor default state after construction #7416
-
|
When an Actor is created it has a certain State. In de ctor one can define e.g. some Receive's. |
Beta Was this translation helpful? Give feedback.
Answered by
Aaronontheweb
Dec 19, 2024
Replies: 1 comment 2 replies
-
|
In an I'd define "actor state" as your actor's:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
HermansG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In an
UntypedActor, the default behavior is going to be yourOnReceivemethod - theabstractmethod that has to be filled in. All actor base classes with the notable exception of theFSM<TState>have a fairly loose and unopinionated view of what constitutes a state.I'd define "actor state" as your actor's: