In this recipe, you will learn about OneForOneStrategy to implement the let it crash model.
The OneForOneStrategy class is applied when we want to supervise the child actors in such a way that only the failed child would be restarted, resumed, or escalated, not it's siblings. If we don't specify any supervisor strategy, then the default would be OneForOneStrategy. Let's understand it.
The OneForOneStrategy class is useful when actors are not dependent on each other, they are each responsible for a single task, and failure of one actor does not affect another.
To step through this recipe, we need to import the Hello-Akka project in IDE.