IORuntime

cats.effect.unsafe.IORuntime$
See theIORuntime companion class
object IORuntime

Attributes

Companion:
class
Source:
IORuntime.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

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

Attributes

Source:
IORuntime.scala

Inherited methods

Attributes

Inherited from:
IORuntimeCompanionPlatform (hidden)
Source:
IORuntimeCompanionPlatform.scala
def createDefaultScheduler(threadPrefix: String): (Scheduler, () => Unit)

Attributes

Inherited from:
IORuntimeCompanionPlatform (hidden)
Source:
IORuntimeCompanionPlatform.scala
def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: Throwable => Unit): (WorkStealingThreadPool, () => Unit)

Attributes

Inherited from:
IORuntimeCompanionPlatform (hidden)
Source:
IORuntimeCompanionPlatform.scala

Deprecated and Inherited methods

def createDefaultComputeThreadPool(self: () => IORuntime, threads: Int, threadPrefix: String): (WorkStealingThreadPool, () => Unit)

Attributes

Deprecated
true
Inherited from:
IORuntimeCompanionPlatform (hidden)
Source:
IORuntimeCompanionPlatform.scala
def createDefaultComputeThreadPool(self: => IORuntime, threads: Int, threadPrefix: String, blockerThreadPrefix: String): (WorkStealingThreadPool, () => Unit)

Attributes

Deprecated
[Since version 3.4.0] Replaced by the simpler and safer `createWorkStealingComputePool`
Inherited from:
IORuntimeCompanionPlatform (hidden)
Source:
IORuntimeCompanionPlatform.scala

Inherited fields

lazy val global: IORuntime

Attributes

Inherited from:
IORuntimeCompanionPlatform (hidden)
Source:
IORuntimeCompanionPlatform.scala