Packages

object Subscribe

Subscribe the given actor to service updates. When new instances are registered or unregistered to the given key the given 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. All

Value Members

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

    Scala API: