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
IORuntime.type

Members list

Value members

Concrete methods

def apply(compute: ExecutionContext, blocking: ExecutionContext, scheduler: Scheduler, pollers: List[Any], shutdown: () => Unit, config: IORuntimeConfig): IORuntime

Attributes

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

Attributes

Source
IORuntime.scala

Attributes

Source
IORuntime.scala

Inherited methods

Attributes

Inherited from:
IORuntimeCompanionPlatform (hidden)
Source
IORuntimeCompanionPlatform.scala

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, blockedThreadDetectionEnabled: Boolean, shutdownTimeout: Duration, pollingSystem: PollingSystem): (WorkStealingThreadPool[_], Api, () => Unit)

Attributes

Inherited from:
IORuntimeCompanionPlatform (hidden)
Source
IORuntimeCompanionPlatform.scala

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
def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: Throwable => Unit, blockedThreadDetectionEnabled: Boolean): (WorkStealingThreadPool[_], () => Unit)

Attributes

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

Attributes

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