VarR

trait VarR[T <: Txn[T], A] extends Var[T, A]

A mutable cell view representing serializable elements.

Companion:
object
trait Var[T, A]
trait Sink[T, A]
trait CellView[T, A]
trait Source[T, A]
trait Observable[T, A]
class Object
trait Matchable
class Any

Type members

Types

type Repr

Value members

Abstract methods

def lift(value: A)(implicit tx: T): Repr
def repr(implicit tx: T): Repr
def repr_=(value: Repr)(implicit tx: T): Unit

Inherited methods

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

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: T): Unit
Inherited from:
Sink

Implicits

Implicits

implicit def format: TFormat[T, Repr]