IEvent

trait IEvent[T <: Exec[T], +A] extends Observable[T, A]

In-memory (non-serializable) event.

trait Observable[T, A]
class Object
trait Matchable
class Any
trait IChangeEvent[T, A]
trait IChangeEventImpl[T, A]
trait IEventImpl[T, A]
trait IGeneratorEvent[T, A]

Value members

Abstract methods

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

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

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

def -/->(sink: IEvent[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