+sam #3689 Make activator template of the fsm sample
This commit is contained in:
parent
23b9fad153
commit
e6f679fe8b
12 changed files with 138 additions and 157 deletions
|
|
@ -754,7 +754,7 @@ Hakkers`_). It will replace the current behavior (i.e. the top of the behavior
|
|||
stack), which means that you do not use :meth:`unbecome`, instead always the
|
||||
next behavior is explicitly installed.
|
||||
|
||||
.. _Dining Hakkers: @github@/akka-samples/akka-sample-fsm/src/main/scala/DiningHakkersOnBecome.scala
|
||||
.. _Dining Hakkers: http://typesafe.com/activator/template/akka-sample-fsm-scala
|
||||
|
||||
The other way of using :meth:`become` does not replace but add to the top of
|
||||
the behavior stack. In this case care must be taken to ensure that the number
|
||||
|
|
|
|||
|
|
@ -479,7 +479,6 @@ zero.
|
|||
Examples
|
||||
========
|
||||
|
||||
A bigger FSM example contrasted with Actor's :meth:`become`/:meth:`unbecome` can be found in the sources:
|
||||
|
||||
* `Dining Hakkers using FSM <@github@/akka-samples/akka-sample-fsm/src/main/scala/DiningHakkersOnFsm.scala>`_
|
||||
* `Dining Hakkers using become <@github@/akka-samples/akka-sample-fsm/src/main/scala/DiningHakkersOnBecome.scala>`_
|
||||
A bigger FSM example contrasted with Actor's :meth:`become`/:meth:`unbecome` can be found in
|
||||
the `Typesafe Activator <http://typesafe.com/platform/getstarted>`_ template named
|
||||
`Akka FSM in Scala <http://typesafe.com/activator/template/akka-sample-fsm-scala>`_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue