https://github.com/evolution-gaming/executor-tools
https://github.com/evolution-gaming/executor-tools
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/evolution-gaming/executor-tools
- Owner: evolution-gaming
- License: mit
- Created: 2017-06-01T11:51:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T11:24:23.000Z (almost 2 years ago)
- Last Synced: 2025-01-27T19:54:10.166Z (over 1 year ago)
- Language: Scala
- Size: 23.4 KB
- Stars: 1
- Watchers: 14
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# executor-tools
[](https://github.com/evolution-gaming/executor-tools/actions?query=workflow%3ACI)
[](https://coveralls.io/r/evolution-gaming/executor-tools)
[](https://evolution.jfrog.io/artifactory/api/search/latestVersion?g=com.evolutiongaming&a=executor-tools-actor_2.13&repos=public)
[](https://opensource.org/licenses/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
```scala
addSbtPlugin("com.evolution" % "sbt-artifactory-plugin" % "0.0.2")
libraryDependencies += "com.evolutiongaming" %% "executor-tools" % "1.0.3"
```