FiberRefModification

oxygen.zio.FiberRefModification
See theFiberRefModification companion object

Attributes

Companion
object
Graph
Supertypes
trait ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

override def apply[R, E, A](effect: ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]

Runs the specified effect using FiberRef.locally/FiberRef.locallyWith

Runs the specified effect using FiberRef.locally/FiberRef.locallyWith

Attributes

Definition Classes
FiberRefModificationR -> ZIOAspect
override def set: UIO[Unit]

Updates the FiberRef using FiberRef.set/FiberRef.update, with no expectation of it being set back.

Updates the FiberRef using FiberRef.set/FiberRef.update, with no expectation of it being set back.

Attributes

Definition Classes
override def setScoped: URIO[Scope, Unit]

Updates the FiberRef using FiberRef.locallyScoped/FiberRef.locallyScopedWith, where it will be set back when the scope is closed.

Updates the FiberRef using FiberRef.locallyScoped/FiberRef.locallyScopedWith, where it will be set back when the scope is closed.

Attributes

Definition Classes

Concrete methods

Inherited methods

final def >>>[R2](that: FiberRefModificationR[R2]): FiberRefModificationR[Any & R2]

Attributes

Inherited from:
FiberRefModificationR
def >>>[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]

Attributes

Inherited from:
ZIOAspect
def @@[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Returns a new aspect that represents the sequential composition of this aspect with the specified one.

Attributes

Inherited from:
ZIOAspect
def andThen[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]

Attributes

Inherited from:
ZIOAspect
def flip: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

Returns a new aspect that flips the behavior it applies to error and success channels. If the old aspect affected success values in some way, then the new aspect will affect error values in the same way.

Returns a new aspect that flips the behavior it applies to error and success channels. If the old aspect affected success values in some way, then the new aspect will affect error values in the same way.

Attributes

Inherited from:
ZIOAspect
final def toLayer: URLayer[Any, Unit]

Attributes

Inherited from:
FiberRefModificationR