Skip to Main Content
Mastering Functional Programming
book

Mastering Functional Programming

by Anatolii Kmetiuk
August 2018
Intermediate to advanced content levelIntermediate to advanced
380 pages
10h 2m
English
Packt Publishing
Content preview from Mastering Functional Programming

Supervision

Also, part of the fault-tolerance strategy that Actor provides is the supervisorStrategy method:

You can override this method to provide the actor with different ways to supervise its children. Supervision is the concept of watching the children's life cycle and taking actions on significant events, such as when an actor fails with an exception. In Akka, parent actors are supposed to supervise child actors. The supervision strategy is defined as follows:

As you can see, there are two subclasses defined for this class, and the documentation ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781788620796Supplemental Content