clarify context needed for ActorDSL.actor() and add @implicitNotFound
This commit is contained in:
parent
6321663471
commit
36cbf96d8e
3 changed files with 14 additions and 4 deletions
|
|
@ -162,8 +162,9 @@ infrastructure is bundled in the following import:
|
|||
|
||||
.. includecode:: ../../../akka-actor-tests/src/test/scala/akka/actor/ActorDSLSpec.scala#import
|
||||
|
||||
This import is assumed for all code samples throughout this section. To define
|
||||
a simple actor, the following is sufficient:
|
||||
This import is assumed for all code samples throughout this section. The
|
||||
implicit actor system serves as :class:`ActorRefFactory` for all examples
|
||||
below. To define a simple actor, the following is sufficient:
|
||||
|
||||
.. includecode:: ../../../akka-actor-tests/src/test/scala/akka/actor/ActorDSLSpec.scala#simple-actor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue