abstract
class
SignallingRef[F[_], A] extends Ref[F, A] with Signal[F, A]
Instance Constructors
-
new
SignallingRef()
Abstract Value Members
-
abstract
def
access: F[(A, (A) ⇒ F[Boolean])]
-
abstract
def
continuous: Stream[F, A]
-
abstract
def
discrete: Stream[F, A]
-
abstract
def
get: F[A]
-
abstract
def
getAndSet(a: A): F[A]
-
abstract
def
modify[B](f: (A) ⇒ (A, B)): F[B]
-
abstract
def
modifyState[B](state: State[A, B]): F[B]
-
abstract
def
set(a: A): F[Unit]
-
abstract
def
tryModify[B](f: (A) ⇒ (A, B)): F[Option[B]]
-
abstract
def
tryModifyState[B](state: State[A, B]): F[Option[B]]
-
abstract
def
tryUpdate(f: (A) ⇒ A): F[Boolean]
-
abstract
def
update(f: (A) ⇒ A): F[Unit]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (SignallingRef[F, A], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
mapK[G[_]](f: ~>[F, G])(implicit F: Functor[F]): Ref[G, A]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (SignallingRef[F, A], B)
Pure holder of a single value of type
A
that can be both read and updated in the effectF
.