Packages

final class Evt[T, S <: Struct] extends Source[S, T] with Event[T, S]

Source events with imperative occurrences

T

Type returned when the event fires

S

Struct type used for the propagation of the event

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. Evt
  2. Event
  3. Disconnectable
  4. Interp
  5. Source
  6. ReSource
  7. RENamed
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type State = S.State[Value, S]
    Definition Classes
    ReSource
  2. type Value = Pulse[T]
    Definition Classes
    EvtReSource

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def &&(pred: (T) ⇒ Boolean): default.Event[T]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def &&(pred: (T) ⇒ Boolean)(implicit ticket: CreationTicket[S]): Event[T, S]

    See also

    filter

  4. final def +=(handler: (T) ⇒ Unit): Observe[S]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def +=(handler: (T) ⇒ Unit)(implicit ticket: CreationTicket[S]): Observe[S]

    See also

    observe

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def \[U](except: default.Event[U]): default.Event[T]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def \[U](except: Event[U, S])(implicit ticket: CreationTicket[S]): Event[T, S]

  7. final def admit(value: T)(implicit ticket: AdmissionTicket[S]): Unit
    Definition Classes
    Source
  8. def admitPulse(pulse: Pulse[T])(implicit ticket: AdmissionTicket[S]): Unit
    Definition Classes
    EvtSource
  9. final def and[U, R](other: default.Event[U]): default.Event[R]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def and[U, R](other: Event[U, S])(merger: (T, U) ⇒ R)(implicit ticket: CreationTicket[S]): Event[R, S]

  10. final def apply(): Option[T]

    Makes the enclosing reactive expression depend on the current value of the reactive.

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

    Definition Classes
    Interp
    Annotations
    @compileTimeOnly( ... )
    See also

    value

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  13. final def collect[U](pf: PartialFunction[T, U]): default.Event[U]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

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

  14. final def count(): default.Signal[Int]

    [use case] Counts the occurrences of the event.

    [use case]

    Counts the occurrences of the event. Starts from 0, when the event has never been fired yet. The argument of the event is simply discarded.

    Definition Classes
    Event
    Full Signature

    final def count()(implicit ticket: CreationTicket[S], ev: ReSerializable[Int]): Signal[Int, S]

  15. def disconnect()(implicit engine: Scheduler[S]): Unit
    Definition Classes
    EvtDisconnectable
  16. final def dropParam(implicit ticket: CreationTicket[S]): default.Event[Unit]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def dropParam(implicit ticket: CreationTicket[S]): Event[Unit, S]

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. final def filter(pred: (T) ⇒ Boolean): default.Event[T]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def filter(pred: (T) ⇒ Boolean)(implicit ticket: CreationTicket[S]): Event[T, S]

  20. def fire(value: T)(implicit fac: Scheduler[S]): Unit
  21. def fire()(implicit fac: Scheduler[S], ev: =:=[Unit, T]): Unit
  22. final def flatten[R](implicit flatten: Flatten[Event[T, S], R]): R

    Flattens the inner value.

    Flattens the inner value.

    Definition Classes
    Event
    Annotations
    @cutOutOfUserComputation()
  23. final macro def fold[A](init: A)(op: (A, T) ⇒ A): default.Signal[A]

    [use case] Folds events with a given operation to create a Signal.

    [use case]

    Folds events with a given operation to create a Signal.

    Definition Classes
    Event
    Full Signature

    final macro def fold[A](init: A)(op: (A, T) ⇒ A)(implicit ticket: CreationTicket[S], serializable: ReSerializable[A]): Signal[A, S]

  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def internalAccess(v: Pulse[T]): Pulse[T]
    Definition Classes
    EvtEvent
  27. def interpret(v: Value): Option[T]

    Interprets the pulse of the event by converting to an option

    Interprets the pulse of the event by converting to an option

    Definition Classes
    EventInterp
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def iterate[A](init: A)(f: (A) ⇒ A): default.Signal[A]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def iterate[A](init: A)(f: (A) ⇒ A)(implicit arg0: ReSerializable[A], ticket: CreationTicket[S]): Signal[A, S]

  30. final def last[A >: T](n: Int): default.Signal[LinearSeq[A]]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def last[A >: T](n: Int)(implicit ticket: CreationTicket[S], ev: ReSerializable[Queue[A]]): Signal[LinearSeq[A], S]

  31. final def latest[A >: T](): default.Signal[A]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def latest[A >: T]()(implicit arg0: ReSerializable[A], ticket: CreationTicket[S]): Signal[A, S]

  32. final def latest[A >: T](init: A): default.Signal[A]

    [use case]

    [use case]
    init

    initial value of the returned signal

    Definition Classes
    Event
    Full Signature

    final def latest[A >: T](init: A)(implicit arg0: ReSerializable[A], ticket: CreationTicket[S]): Signal[A, S]

  33. final def latestOption[A >: T](): default.Signal[Option[A]]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def latestOption[A >: T]()(implicit ticket: CreationTicket[S], ev: ReSerializable[Option[A]]): Signal[Option[A], S]

  34. final def list[A >: T](): default.Signal[List[A]]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def list[A >: T]()(implicit ticket: CreationTicket[S], ev: ReSerializable[List[A]]): Signal[List[A], S]

  35. final macro def map[A](expression: (T) ⇒ A): default.Event[A]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final macro def map[A](expression: (T) ⇒ A)(implicit ticket: CreationTicket[S]): Event[A, S]

  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. final def observe(handler: (T) ⇒ Unit): Observe[S]

    [use case]

    [use case]
    returns

    the resulting Observe can be used to remove the observer.

    Definition Classes
    Event
    Full Signature

    final def observe(onSuccess: (T) ⇒ Unit, onFailure: (Throwable) ⇒ Unit = null)(implicit ticket: CreationTicket[S]): Observe[S]

  40. final def recover[R >: T](onFailure: PartialFunction[Throwable, Option[R]]): default.Event[R]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def recover[R >: T](onFailure: PartialFunction[Throwable, Option[R]])(implicit ticket: CreationTicket[S]): Event[R, S]

  41. final def reduce[A](reducer: (⇒ A, ⇒ T) ⇒ A): default.Signal[A]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def reduce[A](reducer: (⇒ A, ⇒ T) ⇒ A)(implicit arg0: ReSerializable[A], ticket: CreationTicket[S]): Signal[A, S]

  42. def state: State
    Attributes
    protected[rescala]
    Definition Classes
    EvtReSource
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    RENamed → AnyRef → Any
  45. final def toggle[A](a: default.Signal[A], b: default.Signal[A]): default.Signal[A]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def toggle[A](a: Signal[A, S], b: Signal[A, S])(implicit ticket: CreationTicket[S], ev: ReSerializable[Boolean]): Signal[A, S]

  46. final def value: Option[T]

    Makes the enclosing reactive expression depend on the current value of the reactive.

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

    Definition Classes
    Interp
    Annotations
    @compileTimeOnly( ... )
    See also

    apply

  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def zip[U](other: default.Event[U]): default.Event[(T, U)]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def zip[U](other: Event[U, S])(implicit ticket: CreationTicket[S]): Event[(T, U), S]

    See also

    and

  51. final def zipOuter[U](other: Event[U, S]): default.Event[(Option[T], Option[U])]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def zipOuter[U](other: Event[U, S])(implicit ticket: CreationTicket[S]): Event[(Option[T], Option[U]), S]

  52. final def ||[U >: T](other: default.Event[U]): default.Event[U]

    [use case]

    [use case]
    Definition Classes
    Event
    Full Signature

    final def ||[U >: T](other: Event[U, S])(implicit ticket: CreationTicket[S]): Event[U, S]

Deprecated Value Members

  1. def apply(value: T)(implicit fac: Scheduler[S]): Unit

    Trigger the event

    Trigger the event

    Annotations
    @deprecated
    Deprecated

    (Since version 0.21.0) use .fire instead of apply

  2. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Event[T, S]

Inherited from Disconnectable[S]

Inherited from Interp[Option[T], S]

Inherited from Source[S, T]

Inherited from ReSource[S]

Inherited from RENamed

Inherited from AnyRef

Inherited from Any

internal

Accessor and observers

Event operators

Event to Signal conversions

Ungrouped