This project is not actively being worked on at present. Instead an actively maintained port of Akka to Scala.js is available here: https://github.com/unicredit/akka.js.
We highly recommend you have a look at it instead - it features a full Akka core as well as Streams port working in the browser.
This project provides an implementation of Akka's core akka-actor
module for
Scala.js. The project structure mirrors that of upstream Akka. The akka-actor-js
project contains the core actor implementation. An important goal is
to minimize source differences between upstream akka-actor
and akka-actor-js
.
The akka-actor-tests-js
project provides the test suite for akka-actor-js
.
The projects are built using sbt
, using
> compile
The test suite is run using
> project akka-actor-tests-js
> run
> project playAppScalaJS
[info] Set current project to Scala.js play-app client ...
> fastOptJS
...
[info] Fast optimizing .../examples/play-app/public/javascripts/play-app-client-fastopt.js
[success] Total time: ...
Quit the sbt console (if it’s still running). Change directory to the root of the Play app
(examples/play-app
), and start a new sbt prompt. Build the Play app using:
[play-app] $ compile
Run the Play app using:
[play-app] $ run
The app is now running at http://localhost:9000/
.