Root

sealed abstract class Root[A](`__initValue`: () => A) extends Px[A]
class Px[A]
class Object
trait Matchable
class Any
class Var[A]
class ThunkM[A]

Value members

Concrete methods

final protected def _updateValue(a: A): Unit
final protected def _value(): A
final override def peek: A
Definition Classes
final override def rev: Int
Definition Classes
protected def setMaybe(a: A): Unit

Inherited methods

def extract(implicit e: Extract[A]): A

If this Px contains a function, it can be extracted and the Px dropped from the signature. Every time the function is invoked it will use the latest value of this Px, even if you don't explicitly hold a reference to it anymore.

If this Px contains a function, it can be extracted and the Px dropped from the signature. Every time the function is invoked it will use the latest value of this Px, even if you don't explicitly hold a reference to it anymore.

Example. From a Px[Int => String], an Int => String can be extracted.

Inherited from
Px
def flatMap[B](f: A => Px[B]): Derivative[B]
Inherited from
Px
def map[B](f: A => B): Derivative[B]
Inherited from
Px
final def toCallback[F[_]](implicit F: Sync[F]): F[A]
Inherited from
Px
def value(): A

Get the latest value, updating itself if necessary.

Get the latest value, updating itself if necessary.

Inherited from
Px
final def valueSince(r: Int): Option[A]
Inherited from
Px

Abstract fields

protected val reusability: Reusability[A]

Concrete fields

protected var _rev: Int