Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def doSomething(s: String) = {}
- def handleMsg(msg: Map[String, String]) = {
- msg.getOrElse("id", Nil) match {
- case request_id: String => redis.get(request_id).onComplete {
- case Success(data) => data match { case Some(str) => performWinNotification(str); case None => };
- case Failure(t) =>
- }
- case Nil =>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement