IORuntime

object IORuntime
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(compute: ExecutionContext, blocking: ExecutionContext, scheduler: Scheduler, shutdown: () => Unit, config: IORuntimeConfig): IORuntime

Inherited methods

Inherited from:
IORuntimeCompanionPlatform
def createDefaultScheduler(threadPrefix: String): (Scheduler, () => Unit)
Inherited from:
IORuntimeCompanionPlatform
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

Inherited fields

lazy val global: IORuntime
Inherited from:
IORuntimeCompanionPlatform