Actor.prototype._onStart(): void | Promise<void>
Hook called after the actor has been initialized but before any connections are accepted. If the actor crashes or is upgraded, this method will be called before startup. If you need to upgrade your state, use this method.
Use this to set up any resources or start any background tasks.
void | Promise<void>