Skip to content

Instantly share code, notes, and snippets.

@mthaler
mthaler / gist:6114009
Created July 30, 2013 15:29
typed actor refs
package typedactorrefs
import akka.actor._
import akka.pattern.AskSupport
import akka.util.Timeout
import scala.concurrent.Future
import typedactorrefs.Server.ServerMessage
import scala.concurrent.duration._
import typedactorrefs.Server.GetModule
import typedactorrefs.Server.Module
@mthaler
mthaler / Main.scala
Created July 30, 2013 15:27
typed actor refs
package typedactorrefs
import akka.actor._
import akka.pattern.AskSupport
import akka.util.Timeout
import scala.concurrent.Future
import typedactorrefs.Server.ServerMessage
import scala.concurrent.duration._
import typedactorrefs.Server.GetModule
import typedactorrefs.Server.Module