May 2017
Intermediate to advanced
414 pages
13h
English
As you have seen in the output, the same message can be sent to all the actors by wrapping the Handle message into the Broadcast envelope. After that, we sent PoisonPill, which is a specially handled message in the Broadcast envelope, to kill all the actors under the router.
There is another one: the Kill message. When sent to the router, it throws an ActorKilledException and fails. It is then resumed, restarted, or terminated, depending on how it is supervised.
Read now
Unlock full access