object FiberRef
- Companion:
- class
Type members
Classlikes
Wraps another FiberRef and delegates all operations to it. Extend this if
you need a FiberRef with some specific behavior overridden.
Wraps another FiberRef and delegates all operations to it. Extend this if
you need a FiberRef with some specific behavior overridden.
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.