object IORuntime
- Companion:
- class
Value members
Concrete methods
def apply(compute: ExecutionContext, blocking: ExecutionContext, scheduler: Scheduler, shutdown: () => Unit, config: IORuntimeConfig): IORuntime
Inherited methods
def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: Throwable => Unit): (ExecutionContext, () => Unit)
- Inherited from:
- IORuntimeCompanionPlatform
Deprecated and Inherited methods
@deprecated(message = "Replaced by the simpler and safer `createWorkStealingComputePool`", since = "3.4.0")
def createDefaultComputeThreadPool(self: => IORuntime, threads: Int, threadPrefix: String, blockerThreadPrefix: String): (ExecutionContext, () => Unit)
- Deprecated
[Since version 3.4.0]Replaced by the simpler and safer `createWorkStealingComputePool`- Inherited from:
- IORuntimeCompanionPlatform
@deprecated("bincompat shim for previous default method overload", "3.3.13")
def createDefaultComputeThreadPool(self: () => IORuntime, threads: Int, threadPrefix: String): (WorkStealingThreadPool, () => Unit)
- Deprecated
- Inherited from:
- IORuntimeCompanionPlatform