Skip to content

Instantly share code, notes, and snippets.

View LukeEvans's full-sized avatar

Luke Evans LukeEvans

  • Elastic
  • Denver, CO
View GitHub Profile
@LukeEvans
LukeEvans / ForComp.scala
Created May 5, 2020 14:22
Testing exceptions thrown in Actors with For Comprehensions
import akka.actor.Actor
import akka.actor.ActorSystem
import akka.actor.Props
import akka.pattern.ask
import akka.util.Timeout
import scala.concurrent.ExecutionContext
import scala.concurrent.duration._
import scala.language.postfixOps

Keybase proof

I hereby claim:

  • I am lukeevans on github.
  • I am levans002 (https://keybase.io/levans002) on keybase.
  • I have a public key ASBNjvSXI2aluA33VLJpxtn8nWfrOYuvYmuEUqQ1o9Fnzwo

To claim this, I am signing this object: