Packages

object FiberRef extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FiberRef
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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 a FiberRef with some specific behavior overridden.

  2. type WithPatch[Value0, Patch0] = FiberRef[Value0] { type Patch = Patch0 }

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. val currentLogAnnotations: FiberRef[Map[String, String]]
  7. val currentLogLevel: FiberRef[LogLevel]
  8. val currentLogSpan: FiberRef[List[LogSpan]]
  9. val currentTags: WithPatch[Set[MetricLabel], SetPatch[MetricLabel]]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. 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.

  16. 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.

  17. 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.

  18. 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.

  19. def makeRuntimeFlags(initial: RuntimeFlags)(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[RuntimeFlags, Patch]]
  20. def makeSet[A](initial: => Set[A])(implicit trace: Trace): ZIO[Scope, Nothing, WithPatch[Set[A], SetPatch[A]]]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. object unsafe

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped