CellView

trait CellView[Tx, +A] extends Observable[Tx, A] with Source[Tx, A]

A CellView is an in-memory view of a transactional object that fires updates when the object changes.

It is important that the cell-view is ''not'' a Disposable, which means we do not have to track its life cycle. A Disposable of course is generated from the react call.

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

Value members

Concrete methods

def flatMapTx[B](f: Tx => A => Option[B]): CellView[Tx, Option[B]]
Implicitly added by OptionOps
def getOrElse[B >: A](that: CellView[Tx, B]): CellView[Tx, B]
Implicitly added by OptionOps
def map[B](f: A => B): CellView[Tx, B]
Implicitly added by Ops
def orElse[B >: A](that: CellView[Tx, Option[B]]): CellView[Tx, Option[B]]
Implicitly added by OptionOps

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