From cff43c34b0c9176294a187a5d4c392342ec1b3cd Mon Sep 17 00:00:00 2001 From: Roland Kuhn Date: Sat, 6 Apr 2013 22:31:20 +0300 Subject: [PATCH] clarify watch() idempotency (Scala) --- akka-docs/rst/scala/actors.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/akka-docs/rst/scala/actors.rst b/akka-docs/rst/scala/actors.rst index a383d47228..1022f40d6e 100644 --- a/akka-docs/rst/scala/actors.rst +++ b/akka-docs/rst/scala/actors.rst @@ -299,6 +299,9 @@ Registering a monitor is easy: It should be noted that the :class:`Terminated` message is generated independent of the order in which registration and termination occur. +In particular, the watching actor will receive a :class:`Terminated` message even if the +watched actor has already been terminated at the time of registration. + Registering multiple times does not necessarily lead to multiple messages being generated, but there is no guarantee that only exactly one such message is received: if termination of the watched actor has generated and queued the