Runner

trait Runner[T <: Txn[T]] extends ViewBase[T] with IControl[T]
Companion
object
trait IControl[T]
trait Form[T]
trait ViewBase[T]
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any
trait Repr[T]
trait Peer[T]
trait Internal[T]
trait Mutable[T]
class PeerImpl[T]

Value members

Abstract methods

def prepare(attr: Attr[T])(implicit tx: T): Unit
def run()(implicit tx: T): Unit

Concrete methods

def runAndDispose()(implicit tx: T): Unit
Implicitly added by RunnerOps

Starts the runner, and then watches it until it is stopped (or done or failed), then calling dispose on it.

Starts the runner, and then watches it until it is stopped (or done or failed), then calling dispose on it.

Inherited methods

def dispose()(implicit tx: T): Unit
Inherited from
Disposable
def initControl()(implicit tx: T): Unit
Inherited from
IControl
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
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 from
ViewBase
def state(implicit tx: T): State
Inherited from
ViewBase
def stop()(implicit tx: T): Unit
Inherited from
ViewBase

Implicits

Implicits

implicit