Last active
August 29, 2015 14:02
-
-
Save IvanGuardado/aad6c967cc392c1b7a4a to your computer and use it in GitHub Desktop.
Node.js, The Bad Parts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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