Rendering

trait Rendering[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
trait WithState[T]

Value members

Abstract methods

def cancel()(implicit tx: T): Unit
def control: Control
def outputResult(output: GenView[T])(implicit tx: T): Option[Try[Obj[T]]]
def reactNow(fun: T => State => Unit)(implicit tx: T): Disposable[T]

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

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

def result(implicit tx: T): Option[Try[Unit]]
def state(implicit tx: T): State

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