object FiberRef
- Companion:
- class
Value members
Concrete methods
def makeEnvironment[A](initial: => ZEnvironment[A])(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[ZEnvironment[A], Patch[A, A]]]
Creates a new FiberRef with specified initial value of the
ZEnvironment, using ZEnvironment.Patch to combine updates to the
ZEnvironment in a compositional way.
Creates a new FiberRef with specified initial value of the
ZEnvironment, using ZEnvironment.Patch to combine updates to the
ZEnvironment in a compositional way.