shutdown

Sends a shutdown request to the specified actor address and waits for the response.

Return

A Result containing the Response received in response to the shutdown request, or an error if the operation fails.

Parameters

addr

The address of the actor to be shut down.

Throws

if the response ID does not match the request ID.