GenView

trait GenView[T <: Txn[T]] extends Observable[T, State] with Disposable[T]
Companion
object
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any

Value members

Abstract methods

def reactNow(fun: T => State => Unit)(implicit tx: T): Disposable[T]
def state(implicit tx: T): State
def typeId: Int
def value(implicit tx: T): Option[Try[Obj[T]]]
def valueType: Type

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