Fix typo getStageActorRef to getStageActor (#23259)

This commit is contained in:
Richard Imaoka 2017-06-30 19:07:30 +09:00 committed by Arnout Engelen
parent c8a7347355
commit afe349b6cd

View file

@ -370,7 +370,7 @@ Java
It is possible to acquire an ActorRef that can be addressed from the outside of the stage, similarly how It is possible to acquire an ActorRef that can be addressed from the outside of the stage, similarly how
`AsyncCallback` allows injecting asynchronous events into a stage logic. This reference can be obtained `AsyncCallback` allows injecting asynchronous events into a stage logic. This reference can be obtained
by calling `getStageActorRef(receive)` passing in a function that takes a `Pair` of the sender by calling `getStageActor(receive)` passing in a function that takes a `Pair` of the sender
`ActorRef` and the received message. This reference can be used to watch other actors by calling its `watch(ref)` `ActorRef` and the received message. This reference can be used to watch other actors by calling its `watch(ref)`
or `unwatch(ref)` methods. The reference can be also watched by external actors. The current limitations of this or `unwatch(ref)` methods. The reference can be also watched by external actors. The current limitations of this
`ActorRef` are: `ActorRef` are:
@ -516,4 +516,4 @@ that he gave up).
It is interesting to note that a simplified form of this problem has found its way into the [dotty test suite](https://github.com/lampepfl/dotty/pull/1186/files). It is interesting to note that a simplified form of this problem has found its way into the [dotty test suite](https://github.com/lampepfl/dotty/pull/1186/files).
Dotty is the development version of Scala on its way to Scala 3. Dotty is the development version of Scala on its way to Scala 3.
@@@ @@@