object Runtime
- Companion:
- class
Type members
Classlikes
final case class Scoped[+R](environment: ZEnvironment[R], fiberRefs: FiberRefs, runtimeFlags: RuntimeFlags, shutdown0: () => Unit) extends Runtime[R]
A runtime that can be shutdown to release resources allocated to it.
A runtime that can be shutdown to release resources allocated to it.
Value members
Concrete methods
Builds a new runtime given an environment R
and a zio.FiberRefs.
Builds a new runtime given an environment R
and a zio.FiberRefs.
def setReportFatal(reportFatal: Throwable => Nothing)(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.