May 2017
Intermediate to advanced
414 pages
13h
English
In this preceding recipe, we create two child actors, Calculator and ResultPrinter, under the supervision of the the AllForOneStrategy Supervisor. These actors are closely related in the sense that the result of any operation carried out by Calculator are sent to ResultPrinter to print.
When an exception occurs in Calculator, both the actors are restarted because of AllForOneStrategy.
Read now
Unlock full access