ViewBase

trait ViewBase[T <: Txn[T]] extends Observable[T, State] with Disposable[T]
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any
trait AuralViewBase[T, Target]
trait TrySink[T]
trait ValueBaseImpl[T, A]
trait ExprImpl[T, A]
trait ObjViewBase[T, Target]
trait AuralObj[T]
trait Action[T]
trait Container[T, Self]
trait FolderLike[T, Self]
trait Folder[T]
trait AuralFolderLikeImpl[T, View]
trait Timeline[T]
trait Manual[T]
trait Control[T]
trait Proc[T]
trait AuralProcImpl[T]
class Impl[T]
trait AuralScheduledBase[T, Target, Elem]
trait AuralGraphemeBase[T, I, Target, Elem]
trait AuralTimelineBase[T, I, Target, Elem]
trait Runner[T]
trait Repr[T]
trait Peer[T]
trait Internal[T]
trait Mutable[T]
class PeerImpl[T]

Value members

Abstract methods

def state(implicit tx: T): State
def stop()(implicit tx: T): Unit

Concrete methods

final
def reactNow(fun: T => State => Unit)(implicit tx: T): Disposable[T]

Like react, but also invokes the function with the current state immediately.

Like react, but also invokes the function with the current state immediately.

Inherited methods

def dispose()(implicit tx: T): Unit
Inherited from
Disposable
def react(fun: T => State => 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