ZTRef

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

Type members

Classlikes

final implicit class UnifiedSyntax[E, A](self: ETRef[E, A]) extends AnyVal

Value members

Concrete methods

def make[A](a: => A): USTM[TRef[A]]

Makes a new ZTRef that is initialized to the specified value.

Makes a new ZTRef that is initialized to the specified value.

def makeCommit[A](a: => A): UIO[TRef[A]]

A convenience method that makes a ZTRef and immediately commits the transaction to extract the value out.

A convenience method that makes a ZTRef and immediately commits the transaction to extract the value out.

Implicits

Implicits

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