ZIOPlatform

izumi.functional.bio.UnsafeRun2$.ZIOPlatform
class ZIOPlatform(cpuPool: ThreadPoolExecutor, handler: FailureHandler, yieldEveryNFlatMaps: Int, tracingConfig: TracingConfig) extends Platform

Attributes

Graph
Supertypes
class Platform
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def fatal(t: Throwable): Boolean

Determines if a throwable is fatal or not. It is important to identify these as it is not recommended to catch, and try to recover from, any fatal error.

Determines if a throwable is fatal or not. It is important to identify these as it is not recommended to catch, and try to recover from, any fatal error.

Attributes

Definition Classes
Platform
override def reportFailure(cause: Cause[Any]): Unit

Reports the specified failure.

Reports the specified failure.

Attributes

Definition Classes
Platform
override def reportFatal(t: Throwable): Nothing

Reports a fatal error.

Reports a fatal error.

Attributes

Definition Classes
Platform

Inherited methods

def superviseOperations: Boolean

Attributes

Inherited from:
Platform
def withExecutor(e: Executor): Platform

Attributes

Inherited from:
Platform
def withFatal(f: Throwable => Boolean): Platform

Attributes

Inherited from:
Platform
def withReportFailure(f: Cause[Any] => Unit): Platform

Attributes

Inherited from:
Platform
def withReportFatal(f: Throwable => Nothing): Platform

Attributes

Inherited from:
Platform
def withSuperviseOperations(supervise: Boolean): Platform

Attributes

Inherited from:
Platform
def withSupervisor(s0: Supervisor[Any]): Platform

Attributes

Inherited from:
Platform
def withTracing(t: Tracing): Platform

Attributes

Inherited from:
Platform
def withTracingConfig(config: TracingConfig): Platform

Attributes

Inherited from:
Platform
def withYieldOnStart(cond: Boolean): Platform

Determines if the Runtime should yield right at the beginning of the evaluation.

Determines if the Runtime should yield right at the beginning of the evaluation.

Attributes

Inherited from:
Platform

Concrete fields

override val executor: Executor

Retrieves the default executor.

Retrieves the default executor.

Attributes

override val supervisor: Supervisor[Any]
override val tracing: Tracing

ZIO Tracing configuration.

ZIO Tracing configuration.

Attributes

override val yieldOnStart: Boolean

Specifies if ZIO should yield immediately or not.

Specifies if ZIO should yield immediately or not.

Attributes