improve one word, see #2131
This commit is contained in:
parent
178c9145fe
commit
e748da6f49
2 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ This way of creating the Actor is also great for integrating with Dependency Inj
|
||||||
|
|
||||||
You might be tempted at times to offer an ``UntypedActor`` factory which
|
You might be tempted at times to offer an ``UntypedActor`` factory which
|
||||||
always returns the same instance, e.g. by using a static field. This is not
|
always returns the same instance, e.g. by using a static field. This is not
|
||||||
supported, as it works against the meaning of an actor restart, which is
|
supported, as it goes against the meaning of an actor restart, which is
|
||||||
described here: :ref:`supervision-restart`.
|
described here: :ref:`supervision-restart`.
|
||||||
|
|
||||||
UntypedActor API
|
UntypedActor API
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ Here is an example:
|
||||||
|
|
||||||
You might be tempted at times to offer an ``Actor`` factory which always
|
You might be tempted at times to offer an ``Actor`` factory which always
|
||||||
returns the same instance, e.g. by using a ``lazy val`` or an
|
returns the same instance, e.g. by using a ``lazy val`` or an
|
||||||
``object ... extends Actor``. This is not supported, as it works against the
|
``object ... extends Actor``. This is not supported, as it goes against the
|
||||||
meaning of an actor restart, which is described here:
|
meaning of an actor restart, which is described here:
|
||||||
:ref:`supervision-restart`.
|
:ref:`supervision-restart`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue