EventCompat

trait EventCompat[+T] extends Interp[Option[T]]
trait Interp[Option[T]]
trait ReSource
class Object
trait Matchable
class Any
trait Event[T]
class EventImpl[T]
class Evt[T]

Document{}

final
def collect[U](expression: PartialFunction[T, U])(implicit ticket: CreationTicket): Event[U]

Collects the results from a partial function

Collects the results from a partial function

final
def filter(expression: T => Boolean)(implicit ticket: CreationTicket): Event[T]

Filters the event, only propagating the value when the filter is true.

Filters the event, only propagating the value when the filter is true.

final
def fold[A](init: A)(op: (A, T) => A)(implicit ticket: CreationTicket): Signal[A]

Folds events with a given operation to create a Signal.

Folds events with a given operation to create a Signal.

def interpret(v: Value): Option[T]

Interprets the internal type to the external type

Interprets the internal type to the external type

Inherited from
Interp
final
def map[A](expression: T => A)(implicit ticket: CreationTicket): Event[A]

Transform the event.

Transform the event.

Type members

Inherited types

type Value
Inherited from
ReSource