object Runtime extends RuntimePlatformSpecific
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Runtime
- RuntimePlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addFatal(fatal: Class[_ <: Throwable])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def addLogAnnotation(annotation: LogAnnotation)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def addLogger(logger: ZLogger[String, Any])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def addSupervisor(supervisor: Supervisor[Any])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def apply[R](r: ZEnvironment[R], fiberRefs0: FiberRefs, runtimeFlags0: RuntimeFlags): Runtime[R]
Builds a new runtime given an environment
R
and a zio.FiberRefs. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val default: Runtime[Any]
The default Runtime for most ZIO applications.
The default Runtime for most ZIO applications. This runtime is configured with the the default runtime configuration, which is optimized for typical ZIO applications.
- final val defaultBlockingExecutor: Executor
- Definition Classes
- RuntimePlatformSpecific
- final val defaultExecutor: Executor
- Definition Classes
- RuntimePlatformSpecific
- final val defaultFatal: IsFatal
- Definition Classes
- RuntimePlatformSpecific
- final val defaultLoggers: Set[ZLogger[String, Any]]
- Definition Classes
- RuntimePlatformSpecific
- final val defaultReportFatal: (Throwable) => Nothing
- Definition Classes
- RuntimePlatformSpecific
- final val defaultSupervisor: Supervisor[Any]
- Definition Classes
- RuntimePlatformSpecific
- def disableFlags(flags: RuntimeFlag*)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableAutoBlockingExecutor(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- Definition Classes
- RuntimePlatformSpecific
- def enableCooperativeYielding(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableCurrentFiber(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableFiberRoots(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableFlags(flags: RuntimeFlag*)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableLoomBasedBlockingExecutor(implicit trace: Trace): ZLayer[Any, LoomNotAvailableException, Unit]
- Definition Classes
- RuntimePlatformSpecific
- def enableLoomBasedExecutor(implicit trace: Trace): ZLayer[Any, LoomNotAvailableException, Unit]
- Definition Classes
- RuntimePlatformSpecific
- def enableOpLog(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableOpSupervision(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableRuntimeMetrics(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def enableWorkStealing(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val removeDefaultLoggers: ZLayer[Any, Nothing, Unit]
- def setBlockingExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def setConfigProvider(configProvider: ConfigProvider)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def setExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def setReportFatal(reportFatal: (Throwable) => Nothing)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- def setUnhandledErrorLogLevel(logLevel: LogLevel)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object unsafe