May 2017
Intermediate to advanced
414 pages
13h
English
In this preceding recipe, we created a service actor. This service actor will be monitored by DeathWatchActor, which registers the service actor for monitoring the usage of context.watch. However, we can unwatch the actor using context.unwatch.
In the output, we see that the service actor sends the terminated message on termination.
Read now
Unlock full access