- Companion:
- class
Type members
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.
A layer that adds a supervisor that tracks all forked fibers in a set. Note that this may have a negative impact on performance.
A layer that adds a supervisor that tracks all forked fibers in a set. Note that this may have a negative impact on performance.
Unsafely creates a Runtime from a ZLayer whose resources will be
allocated immediately, and not released until the Runtime is shut down or
the end of the application.
Unsafely creates a Runtime from a ZLayer whose resources will be
allocated immediately, and not released until the Runtime is shut down or
the end of the application.
This method is useful for small applications and integrating ZIO with legacy code, but other applications should investigate using ZIO.provide directly in their application entry points.
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.