Lifecycle signal that is fired when an Actor that was watched has terminated.
Watching is performed by invoking the
akka.typed.ActorContextwatch method. The DeathWatch service is
idempotent, meaning that registering twice has the same effect as registering
once. Registration does not need to happen before the Actor terminates, a
notification is guaranteed to arrive after both registration and termination
have occurred. Termination of a remote Actor can also be effected by declaring
the Actor’s home system as failed (e.g. as a result of being unreachable).
Lifecycle signal that is fired when an Actor that was watched has terminated. Watching is performed by invoking the akka.typed.ActorContext
watch
method. The DeathWatch service is idempotent, meaning that registering twice has the same effect as registering once. Registration does not need to happen before the Actor terminates, a notification is guaranteed to arrive after both registration and termination have occurred. Termination of a remote Actor can also be effected by declaring the Actor’s home system as failed (e.g. as a result of being unreachable).