All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gilt.newrelic.akka.Implicits.scala Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package com.gilt.newrelic.akka

import akka.actor.Actor.Receive

object Implicits {
  /**
  * Usage:
  * def receive = {
  *   case msg: Msg => msg
  * }.withTracing(name)
  */
  implicit class TracingReceiveConverter(r: Receive) {
    def withTracing(name: String) = new TracingReceive(name, r)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy