Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Node.js, The Bad Parts

View akka-actor-example.scala
1 2 3 4 5 6 7 8 9 10
val system = ActorSystem("MySystem")
var actorProps = Props[GreetingActor])
val greeter = system.actorOf(actorProps)
 
/*This sends a msg to the Greeting Actor.
Akka allows to abstract the Actor's
location. It can be in the same JVM
process, in a remote machine even
being a cluster of machines.*/
greeter ! Greeting("Charlie Parker")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.