EventCompat

rescala.compat.EventCompatBundle.EventCompat
trait EventCompat[+T] extends ReadableMacro[State, Option[T]]

Attributes

Graph
Supertypes
trait ReadAs[State, Option[T]]
trait ReSource
class Object
trait Matchable
class Any
Known subtypes
trait Event[T]
class EventImpl[T]
class Evt[T]
Self type

Members list

Concise view

internal

def read(v: Value): A

Interprets the internal type to the external type

Interprets the internal type to the external type

Attributes

Inherited from:
ReadAs

conversion

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.

Attributes

accessor

final def apply(): A

Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for value.

Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for value.

Attributes

See also:

value

Inherited from:
MacroAccess
final def value: A

Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for rescala.macros.MacroAccess.apply.

Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for rescala.macros.MacroAccess.apply.

Attributes

See also:

apply

Inherited from:
MacroAccess

operator

final infix inline def &&(inline 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.

Attributes

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

Collects the results from a partial function

Collects the results from a partial function

Attributes

final inline def filter(inline 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.

Attributes

final inline def map[B](inline expression: T => B)(implicit ticket: CreationTicket): Event[B]

Transform the event.

Transform the event.

Attributes

Type members

Inherited types

type State[V] = S[V]

Attributes

Inherited from:
ReadAs
type Value

Attributes

Inherited from:
ReSource

Value members

Inherited methods

Attributes

Inherited from:
ReSource
def resource: T

Attributes

Inherited from:
MacroAccess