Skip to content

Instantly share code, notes, and snippets.

@RayRoestenburg
Created September 1, 2011 18:02
Show Gist options
  • Save RayRoestenburg/1186802 to your computer and use it in GitHub Desktop.
Save RayRoestenburg/1186802 to your computer and use it in GitHub Desktop.
Stackable trait for one-way actor testing
import akka.actor.Actor
trait ReplyAfterProcessing extends Actor {
abstract override def receive = {
super.receive andThen {
case msg => self.reply_?(msg)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment