Class Receptionist.Deregister$

java.lang.Object
org.apache.pekko.actor.typed.receptionist.Receptionist.Deregister$
Enclosing class:
Receptionist

public static class Receptionist.Deregister$ extends Object
Remove association between the given pekko.actor.typed.ActorRef and the given ServiceKey.

Deregistration can be acknowledged with the Receptionist.Deregistered message if the deregister message is created with a replyTo actor.

Note that getting the Receptionist.Deregistered confirmation does not mean all service key subscribers has seen the fact that the actor has been deregistered yet (especially in a clustered context) so it will be possible that messages sent to the actor in the role of service provider arrive even after getting the confirmation.