HUGE CHANGE - moving behaviorStack into ActorCell
This commit is contained in:
parent
e14f9d0130
commit
26f6c48ae1
31 changed files with 71 additions and 90 deletions
|
|
@ -443,7 +443,7 @@ An Actor has to implement the ``receive`` method to receive messages:
|
|||
|
||||
.. code-block:: scala
|
||||
|
||||
protected def receive: PartialFunction[Any, Unit]
|
||||
def receive: PartialFunction[Any, Unit]
|
||||
|
||||
Note: Akka has an alias to the ``PartialFunction[Any, Unit]`` type called
|
||||
``Receive`` (``akka.actor.Actor.Receive``), so you can use this type instead for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue