executor-tools

Build Status Coverage Status Version License: MIT

This micro dependency-free library contains a couple of simple classes we've annoyed to create in every project. Akka has own, Play has own, other libraries has own of these...

CurrentThreadExecutionContext.scala

To execute Future.map, Future.flatMap on the same thread

ExecutionContextExecutorServiceFactory.scala

To get ExecutionContextExecutorService out of ExecutionContext

Setup

addSbtPlugin("com.evolution" % "sbt-artifactory-plugin" % "0.0.2")

libraryDependencies += "com.evolutiongaming" %% "executor-tools" % "1.0.3"