object Deregister

Remove association between the given akka.actor.typed.ActorRef and the given ServiceKey.

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

Note that getting the 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.

Source
Receptionist.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Deregister
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[T](key: ServiceKey[T], service: ActorRef[T], replyTo: [Deregistered]): Command

    Create a Deregister with an actor that will get an ack that the service was unregistered

  2. def apply[T](key: ServiceKey[T], service: ActorRef[T]): Command

    Create a Deregister without Ack that the service was deregistered