final class TRef[F[+_], A] extends AnyVal
- Self Type
- TRef[F, A]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TRef
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
get: STM[F, A]
See
zio.stm.TRef#get
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapK[G[+_]]: TRef[G, A]
Switch from effect F to effect G.
-
final
def
modify[B](f: (A) ⇒ (B, A)): STM[F, B]
See
zio.stm.TRef#modify
-
final
def
modifySome[B](default: B)(f: PartialFunction[A, (B, A)]): STM[F, B]
See
zio.stm.TRef#modifySome
-
final
def
set(newValue: A): STM[F, Unit]
See
zio.stm.TRef#set
-
final
def
toString(): String
- Definition Classes
- TRef → Any
- val underlying: stm.TRef[A]
-
final
def
update(f: (A) ⇒ A): STM[F, A]
See
zio.stm.TRef#update
-
final
def
updateSome(f: PartialFunction[A, A]): STM[F, A]
See
zio.stm.TRef#updateSome