Skip to content

Instantly share code, notes, and snippets.

View vbhavsar's full-sized avatar
👋

Vishal Bhavsar vbhavsar

👋
  • New Jersey
  • 13:14 (UTC -04:00)
View GitHub Profile
@archie
archie / ParentChild.scala
Created December 13, 2013 22:42
Examples of testing Akka actor parent-child relationships, mostly based on findings from https://www.assembla.com/spaces/akka/tickets/3043#/activity/ticket:
package pc
import akka.actor.Actor
import akka.actor.Props
import akka.actor.ActorRef
import akka.actor.ActorRefFactory
class Parent extends Actor {
val child = context.actorOf(Props[Child], "child")
var ponged = false