Created
May 2, 2016 23:04
-
-
Save eishay/7b1b2169fb5cd9601f27a0011de3d4fe to your computer and use it in GitHub Desktop.
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
class MyActor @Inject() (db: Database) extends Actor { | |
def receive() = { | |
case Update(value) => sender ! db.update(value) | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment