Skip to content

Actor default state after construction #7416

Answered by Aaronontheweb
HermansG asked this question in Q&A
Discussion options

You must be logged in to vote

In an UntypedActor, the default behavior is going to be your OnReceive method - the abstract method that has to be filled in. All actor base classes with the notable exception of the FSM<TState> have a fairly loose and unopinionated view of what constitutes a state.

I'd define "actor state" as your actor's:

  1. Internal data fields / properties
  2. Current message processing behavior

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HermansG
Comment options

@Aaronontheweb
Comment options

Answer selected by HermansG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants