zio.Runtime$
See theRuntime companion trait
object Runtime
Attributes
Members list
Type members
Classlikes
final case class Scoped[+R](environment: ZEnvironment[R], fiberRefs: FiberRefs, runtimeFlags: RuntimeFlags, shutdown0: () => Unit) extends Runtime[R]
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]
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)
Attributes
- Inherited from:
- RuntimePlatformSpecific (hidden)
In this article