object Register
Ordering
- Alphabetic
- By Inheritance
Inherited
- Register
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply[T](key: ServiceKey[T], service: ActorRef[T], replyTo: [Registered]): Command
Create a Register with an actor that will get an ack that the service was registered
- def apply[T](key: ServiceKey[T], service: ActorRef[T]): Command
Create a Register without Ack that the service was registered
Register
message. Associate the given akka.actor.typed.ActorRef with the given ServiceKey by sending this command to the Receptionist.ref.Multiple registrations can be made for the same key. De-registration is implied by the end of the referenced Actor’s lifecycle, but it can also be explicitly deregistered before termination.
Registration will be acknowledged with the Registered message to the given replyTo actor if there is one.