From 3fc6445f969c4f16309e3494d2d047401cef6b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andr=C3=A9n?= Date: Fri, 8 May 2020 14:46:33 +0200 Subject: [PATCH] Clarification about receptionist subscription (#29046) --- akka-docs/src/main/paradox/typed/actor-discovery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/src/main/paradox/typed/actor-discovery.md b/akka-docs/src/main/paradox/typed/actor-discovery.md index 2a7a11ce50..6a50e3986f 100644 --- a/akka-docs/src/main/paradox/typed/actor-discovery.md +++ b/akka-docs/src/main/paradox/typed/actor-discovery.md @@ -36,7 +36,7 @@ registered to the same key. The registry is dynamic. New actors can be registered during the lifecycle of the system. Entries are removed when registered actors are stopped, manually deregistered or the node they live on is removed from the @ref:[Cluster](cluster.md). To facilitate this dynamic aspect you can also subscribe to changes with the `Receptionist.Subscribe` message. It will send -`Listing` messages to the subscriber when entries for a key are changed. +`Listing` messages to the subscriber, first with the set of entries upon subscription, then whenever the entries for a key are changed. These imports are used in the following example: