Var

trait Var[Tx, A] extends CellView[Tx, A] with Sink[Tx, A]
Companion:
object
trait Sink[Tx, A]
trait CellView[Tx, A]
trait Source[Tx, A]
trait Observable[Tx, A]
class Object
trait Matchable
class Any
trait VarR[T, A]
class ObjCellViewVarImpl[T, Dur, In]

Value members

Inherited methods

def apply()(implicit tx: Tx): A
Inherited from:
Source
def react(fun: Tx => A => Unit)(implicit tx: Tx): Disposable[Tx]

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Inherited from:
Observable
def update(value: A)(implicit tx: Tx): Unit
Inherited from:
Sink