Improve wording in 2.2 migration guide (closes #3284)
This commit is contained in:
parent
4900f562b5
commit
cb11b1025a
1 changed files with 3 additions and 3 deletions
|
|
@ -17,8 +17,8 @@ Deprecated Closure-Taking Props
|
||||||
:class:`Actor` instance when invoked. This approach is flawed in that closures
|
:class:`Actor` instance when invoked. This approach is flawed in that closures
|
||||||
are usually created in-line and thus carry a reference to their enclosing
|
are usually created in-line and thus carry a reference to their enclosing
|
||||||
object; this is not well known among programmers, in particular it can be
|
object; this is not well known among programmers, in particular it can be
|
||||||
surprising that innocent-looking actor creation should not be serializable if
|
surprising that innocent-looking actor creation should not be serializable,
|
||||||
the e.g. the enclosing class is an actor.
|
e.g. if the enclosing class is an actor.
|
||||||
|
|
||||||
Thus we have decided to deprecate ``Props(new MyActor(...))`` and
|
Thus we have decided to deprecate ``Props(new MyActor(...))`` and
|
||||||
:class:`UntypedActorFactory` in favor of basing :class:`Props` on a
|
:class:`UntypedActorFactory` in favor of basing :class:`Props` on a
|
||||||
|
|
@ -208,7 +208,7 @@ when the target actor is terminated and created again under the same path. Sendi
|
||||||
of the previous incarnation of the actor will not be delivered to the new incarnation, but that was the case
|
of the previous incarnation of the actor will not be delivered to the new incarnation, but that was the case
|
||||||
for remote references. The reason was that the target actor was looked up by its path on every message
|
for remote references. The reason was that the target actor was looked up by its path on every message
|
||||||
delivery and the path didn't distinguish between the two incarnations of the actor. This has been fixed, and
|
delivery and the path didn't distinguish between the two incarnations of the actor. This has been fixed, and
|
||||||
sending messages to remote references that points to a terminated actor will not be delivered to a new
|
messages sent to a remote reference that points to a terminated actor will not be delivered to a new
|
||||||
actor with the same path.
|
actor with the same path.
|
||||||
|
|
||||||
Equality of ``ActorRef`` has been changed to match the intention that an ``ActorRef`` corresponds to the target
|
Equality of ``ActorRef`` has been changed to match the intention that an ``ActorRef`` corresponds to the target
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue