Option

trait Option[T <: Exec[T]] extends IAction[T]
trait IAction[T]
trait Disposable[T]
trait Form[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def executeIfDefined()(implicit tx: T): Boolean
def isDefined(implicit tx: T): Boolean

Inherited methods

def addSource(tr: ITrigger[T])(implicit tx: T): Unit

Directly adds a trigger input to the action. Actions that do not produce successive events can simply rewrite this as

Directly adds a trigger input to the action. Actions that do not produce successive events can simply rewrite this as

tr.changed.react { implicit tx => _ => executeAction() }

If the action produces successive events, it should prevent this indirection, as triggered cannot be logically combined that way.

Inherited from:
IAction
def dispose()(implicit tx: T): Unit
Inherited from:
Disposable
def executeAction()(implicit tx: T): Unit
Inherited from:
IAction