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 Proc[T]
class Impl[T]
trait Container[T, Self]
trait Timeline[T]
trait Manual[T]
trait FolderLike[T, Self]
trait Folder[T]
trait AuralFolderLikeImpl[T, View]
trait Action[T]
trait Control[T]
trait AuralScheduledBase[T, Target, Elem]
trait AuralGraphemeBase[T, I, Target, Elem]
trait AuralTimelineBase[T, I, Target, Elem]
trait Runner[T]
trait Peer[T]
trait Mutable[T]
trait Internal[T]
class PeerImpl[T]

Value members

Abstract methods

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

Concrete methods

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