method Actor.prototype._onInitialize Actor.prototype._onInitialize(): State | Promise<State> Hook called when the actor is first created. This method should return the initial state of the actor. The state can be access with this._state. Return Type State | Promise<State> See_state Lifecycle Documentation