Skip to content

Instantly share code, notes, and snippets.

@RayRoestenburg
Created August 29, 2012 20:32
Show Gist options
  • Save RayRoestenburg/3518521 to your computer and use it in GitHub Desktop.
Save RayRoestenburg/3518521 to your computer and use it in GitHub Desktop.
wrappedreceive
def wrappedReceive:Receive = {
case m:Any if ! m.isInstanceOf[(Request,Spider)] =>
recordInput(sender)
before(m)
super.receive(m)
after(m)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment