Builds a new runtime given an environment R and a zio.FiberRefs.
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.
The default number of operations the ZIO runtime should execute before yielding to other fibers.
The default number of operations the ZIO runtime should execute before yielding to other fibers.
A layer that adds a supervisor that tracks all forked fibers in a set.
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.