stats

abstract suspend fun stats(): Result<Actor.Stats>

Retrieves the statistics of the actor associated with this ActorRef.

Return

A Result containing the actor's statistics of type Actor.Stats if the operation is successful, or an error if the statistics could not be retrieved.