Implicits to provide slightly cleaner patterns for handling Futures
Implicits to provide slightly cleaner patterns for handling Futures
import com.paypal.cascade.common.future._ val f = Future { ... } f.mapFailure { case e: SomeThrowable => ... }
the type of the future
An scala.concurrent.ExecutionContext that runs tasks immediately, and logs errors to the given logger.
An scala.concurrent.ExecutionContext that runs tasks immediately, and logs errors to the given logger. This context is useful for mapping functions that are cheap to compute (ie: simple transformations, etc)
the logger to which to log errors
Convenience methods and implicits for working with Futures.