SIGN IN SIGN UP
akka / akka-core UNCLAIMED

A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.

0 0 1 Scala
## Finite State Machine in Actors
This sample is an adaptation of [Dining Hakkers](http://www.dalnefre.com/wp/2010/08/dining-philosophers-in-humus/).
To try this example locally, download the sources files with [akka-samples-fsm-scala.zip](https://doc.akka.io/libraries/akka-core/current//attachments/akka-samples-fsm-scala.zip).
Open [DiningHakkersTyped.scala](src/main/scala/sample/DiningHakkers.scala).
It illustrates how the behaviors and transitions can be defined with Akka Typed.
Start the application by typing `sbt "runMain sample.DiningHakkers"`. In the log output you can see the actions of the `Hakker` actors.
Read more about Akka Typed in [the documentation](http://doc.akka.io/libraries/akka-core/current/).
---
The Akka family of projects is managed by teams at Lightbend with help from the community.
License
-------
Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq).