Once the actors have processed the messages, it may be imperative to stop them. Stopping of actors may be required because we have created a large number of actors and now the load has come down, so we can stop some to conserve resources. In this section, we will see the various options available to stop actors.
Actor termination involves multiple steps. Once the
STOP signal is received by the actor, the following actions take place:
STOPsignal to all the children.