Skip to content

Instantly share code, notes, and snippets.

@taylorleese
Created June 4, 2012 20:37
Show Gist options
  • Save taylorleese/2870730 to your computer and use it in GitHub Desktop.
Save taylorleese/2870730 to your computer and use it in GitHub Desktop.
Airbrake Example Actor Setup
val actorList = Vector.fill(actorPoolSize)(airbrakeActor)
def airbrakeActor: Actor[() => Validation[Throwable, Int]] = {
actor(doNotify)
}
def doNotify(f: () => Validation[Throwable, Int]) {
f()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment