concept reaper pattern in category akka
appears as: reaper pattern, The reaper pattern

This is an excerpt from Manning's book Reactive Applications with Akka .NET.
The DeathWatch concept outlined earlier can be used here. You can create an actor whose job it is to DeathWatch each of the core actors you’re interested in (the reaper pattern). Once the reaper actor gets a message informing it of the death of all the core actors, then it’s safe to pass the barrier. You can see the reaper pattern illustrated in figure 6.10. The regular hierarchy of actors is positioned below the parent actor, but you also see the reaper actor, waiting for the deaths of the other actors.