ZManagedFiberRefSyntax

final implicit class ZManagedFiberRefSyntax[A](self: FiberRef[A])
class Object
trait Matchable
class Any

Value members

Concrete methods

def locallyManaged(value: A)(implicit trace: Trace): ZManaged[Any, Nothing, Unit]

Returns a managed effect that sets the value associated with the curent fiber to the specified value as its acquire action and restores it to its original value as its release action.

Returns a managed effect that sets the value associated with the curent fiber to the specified value as its acquire action and restores it to its original value as its release action.