ZRefM

object ZRefM
Companion:
class
class Object
trait Matchable
class Any
ZRefM.type

Type members

Classlikes

final implicit class UnifiedSyntax[-R, +E, A](self: ZRefM[R, R, E, E, A, A]) extends AnyVal

Value members

Concrete methods

def make[A](a: A): UIO[RefM[A]]

Creates a new ZRefM with the specified value.

Creates a new ZRefM with the specified value.

def makeManaged[A](a: A): UManaged[RefM[A]]

Creates a new ZRefM with the specified value in the context of a Managed.

Creates a new ZRefM with the specified value in the context of a Managed.

Deprecated methods

@deprecated("use SubscriptionRef", "2.0.0")
def dequeueRef[A](a: A): UIO[(RefM[A], Dequeue[A])]

Creates a new RefM and a Dequeue that will emit every change to the RefM.

Creates a new RefM and a Dequeue that will emit every change to the RefM.

Deprecated

Implicits

Implicits

final implicit def UnifiedSyntax[R, E, A](self: ZRefM[R, R, E, E, A, A]): UnifiedSyntax[R, E, A]