object Subscribe

Subscribe message. The given actor will subscribe to service updates when this command is sent to the Receptionist.ref. When the set of instances registered for the given key changes the subscriber will be sent a Listing with the new set of instances for that service.

The subscription will be acknowledged by sending out a first Listing. The subscription automatically ends with the termination of the subscriber.

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

Value Members

  1. def apply[T](key: ServiceKey[T], subscriber: [Listing]): Command

    Scala API: