object Register
Associate the given akka.actor.typed.ActorRef with the given ServiceKey. Multiple registrations can be made for the same key. De-registration is implied by the end of the referenced Actor’s lifecycle.
Registration will be acknowledged with the Registered message to the given replyTo actor if there is one.
- Source
- Receptionist.scala
- Alphabetic
- By Inheritance
- Register
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply[T](key: ServiceKey[T], service: ActorRef[T], replyTo: ActorRef[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