Skip to content

Instantly share code, notes, and snippets.

View lolski's full-sized avatar

Ganeshwara Hananda lolski

View GitHub Profile
object Test {
def test = {
val as: akka.actor.ActorSystem = ???
def process(item: Int): scala.util.Try[Unit] = ???
val snd = as.actorOf(Send.props[Int, scala.util.Try[Unit]](e => process(e)))
val rec = as.actorOf(Rec.props[Int, scala.util.Try[Unit]](e => process(e)))
}
}