EventLike

trait EventLike[T <: Txn[T], +A] extends Observable[T, A]
trait Observable[T, A]
class Object
trait Matchable
class Any
trait Event[T, A]
trait GeneratorEvent[T, A]
trait Mapped
trait RootGeneratorEvent[T, A]
trait RootEvent[T, A]
trait SingleEvent[T, A]
trait Changed
trait DummyEvent[T, A]

Value members

Abstract methods

def --->(sink: Event[T, Any])(implicit tx: T): Unit

Connects the given selector to this event. That is, this event will adds the selector to its propagation targets.

Connects the given selector to this event. That is, this event will adds the selector to its propagation targets.

def -/->(sink: Event[T, Any])(implicit tx: T): Unit

Disconnects the given selector from this event. That is, this event will remove the selector from its propagation targets.

Disconnects the given selector from this event. That is, this event will remove the selector from its propagation targets.

Inherited methods

def react(fun: T => A => 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