Packages

trait Signal[+A, S <: Struct] extends ReSource[S] with Interp[A, S] with Disconnectable[S]

Time changing value derived from the dependencies.

A

Type stored by the signal

S

Struct type used for the propagation of the signal

Linear Supertypes
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. Signal
  2. Disconnectable
  3. Interp
  4. ReSource
  5. AnyRef
  6. 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. abstract type Value <: Pulse[A]
    Definition Classes
    SignalReSource

Abstract Value Members

  1. abstract def disconnect()(implicit engine: Scheduler[S]): Unit
    Definition Classes
    Disconnectable
  2. abstract def state: State
    Attributes
    protected[rescala]
    Definition Classes
    ReSource

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def abortOnError()(implicit ticket: CreationTicket[S]): Signal[A, S]
    Annotations
    @cutOutOfUserComputation()
  5. final def apply(): A

    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

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def change(implicit ticket: CreationTicket[S]): Event[Diff[A], S]

    Create an event that fires every time the signal changes.

    Create an event that fires every time the signal changes. It fires the tuple (oldVal, newVal) for the signal. Be aware that no change will be triggered when the signal changes to or from empty

    Annotations
    @cutOutOfUserComputation()
  8. final def changed(implicit ticket: CreationTicket[S]): Event[A, S]

    Create an event that fires every time the signal changes.

    Create an event that fires every time the signal changes. The value associated to the event is the new value of the signal

    Annotations
    @cutOutOfUserComputation()
  9. final def changedTo[V >: A](value: V)(implicit ticket: CreationTicket[S]): Event[Unit, S]

    Convenience function filtering to events which change this reactive to value

    Convenience function filtering to events which change this reactive to value

    Annotations
    @cutOutOfUserComputation()
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def flatten[R](implicit flatten: Flatten[Signal[A, S], R]): R

    Flattens the inner value.

    Flattens the inner value.

    Annotations
    @cutOutOfUserComputation()
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def interpret(v: Value): A

    Interprets the pulse of the signal by returning the value

    Interprets the pulse of the signal by returning the value

    Definition Classes
    SignalInterp
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def map[B](f: (A) ⇒ B)(implicit ticket: CreationTicket[S]): Signal[B, S]

    Return a Signal with f applied to the value

    Return a Signal with f applied to the value

    Annotations
    @cutOutOfUserComputation()
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def now(implicit scheduler: Scheduler[S]): A

    Returns the current value of the signal However, using now is in most cases not what you want.

    Returns the current value of the signal However, using now is in most cases not what you want. It does not build dependencies, does not integrate into transactions. Use only for examples and debug output.

  23. final def observe(onValue: (A) ⇒ Unit, onError: (Throwable) ⇒ Unit = null)(implicit ticket: CreationTicket[S]): Observe[S]

    add an observer

  24. final def readValueOnce(implicit scheduler: Scheduler[S]): A

    Returns the current value of the signal

  25. final def recover[R >: A](onFailure: PartialFunction[Throwable, R])(implicit ticket: CreationTicket[S]): Signal[R, S]

    Uses a partial function onFailure to recover an error carried by the event into a value.

    Uses a partial function onFailure to recover an error carried by the event into a value.

    Annotations
    @cutOutOfUserComputation()
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def value: A

    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

  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def withDefault[R >: A](value: R)(implicit ticket: CreationTicket[S]): Signal[R, S]
    Annotations
    @cutOutOfUserComputation()

Deprecated Value Members

  1. 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 Disconnectable[S]

Inherited from Interp[A, S]

Inherited from ReSource[S]

Inherited from AnyRef

Inherited from Any

internal

Accessor and observers

Signal operators

Signal to Event conversions

Ungrouped