zio.Runtime
See theRuntime companion trait
object Runtime
Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
final case class Scoped[+R](environment: ZEnvironment[R], fiberRefs: FiberRefs, runtimeFlags: RuntimeFlags, shutdown0: () => Unit)
Value members
Concrete methods
Builds a new runtime given an environment R and a zio.FiberRefs.
def setConfigProvider(configProvider: ConfigProvider)(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]
Deprecated methods
Attributes
- Deprecated
-
[Since version 2.1.22]Custom Fatal handling is deprecated, kept only for binary compatibility.
Attributes
- Deprecated
-
[Since version 2.1.19]Unused + unimplemented: using this flag will have no effect
Inherited methods
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
def enableLoomBasedBlockingExecutor(implicit trace: Trace): ZLayer[Any, LoomNotAvailableException, Unit]
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Concrete fields
The default Runtime for most ZIO applications. This runtime is configured with the the default runtime configuration, which is optimized for typical 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.
Attributes
Inherited fields
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
Deprecated and Inherited fields
Attributes
- Deprecated
-
[Since version 2.1.21]IsFatal is deprecated, kept only for binary compatability. - Inherited from:
- RuntimePlatformSpecific (hidden)
In this article