status

open suspend override fun status(): Result<Actor.Status>

Retrieves the current status of the actor.

This method sends a request to the actor's service to get its status. Depending on the response, it either returns the status successfully, constructs an exception for a failure response, or raises an error if the response is unexpected.

Return

A Result containing the actor's Actor.Status if the operation is successful, or a failure if an error occurs.