object FiberRef extends Serializable
- Alphabetic
- By Inheritance
- FiberRef
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class Proxy[A] extends FiberRef[A]
Wraps another
FiberRef
and delegates all operations to it.Wraps another
FiberRef
and delegates all operations to it. Extend this if you need aFiberRef
with some specific behavior overridden. - type WithPatch[Value0, Patch0] = FiberRef[Value0] { type Patch = Patch0 }
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val currentLogAnnotations: FiberRef[Map[String, String]]
- val currentLogLevel: FiberRef[LogLevel]
- val currentLogSpan: FiberRef[List[LogSpan]]
- val currentTags: WithPatch[Set[MetricLabel], SetPatch[MetricLabel]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def make[A](initial: => A, fork: (A) => A = ZIO.identityFn[A], join: (A, A) => A = ZIO.secondFn[A])(implicit trace: Trace): ZIO[Scope, Nothing, FiberRef[A]]
Creates a new
FiberRef
with given initial value. - 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 theZEnvironment
, usingZEnvironment.Patch
to combine updates to theZEnvironment
in a compositional way. - def makePatch[Value, Patch](initial: Value, differ: Differ[Value, Patch], fork: Patch)(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[Value, Patch]]
Creates a new
FiberRef
with the specified initial value, using the specified patch type to combine updates to the value in a compositional way. - def makePatch[Value, Patch](initial: Value, differ: Differ[Value, Patch])(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[Value, Patch]]
Creates a new
FiberRef
with the specified initial value, using the specified patch type to combine updates to the value in a compositional way. - def makeRuntimeFlags(initial: RuntimeFlags)(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[RuntimeFlags, Patch]]
- def makeSet[A](initial: => Set[A])(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[Set[A], SetPatch[A]]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object unsafe