Trait

rescala.operator.SignalBundle

Signal

Related Doc: package SignalBundle

Permalink

trait Signal[+T] extends (SignalBundle.this)#Disconnectable with (SignalBundle.this)#SignalCompat[T]

Time changing value derived from the dependencies.

T

Type stored by the signal

Linear Supertypes
(SignalBundle.this)#SignalCompat[T], (SignalBundle.this)#InterpMacro[T], MacroAccess[T, (SignalBundle.this)#Interp[T]], (SignalBundle.this)#Interp[T], (SignalBundle.this)#ReSource, (SignalBundle.this)#Disconnectable, AnyRef, Any
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. Signal
  2. SignalCompat
  3. InterpMacro
  4. MacroAccess
  5. Interp
  6. ReSource
  7. Disconnectable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Value <: Pulse[T]

    Permalink
    Definition Classes
    SignalReSource

Abstract Value Members

  1. abstract def disconnect()(implicit engine: (SignalBundle.this)#Scheduler): Unit

    Permalink
    Definition Classes
    Disconnectable
  2. abstract def name: ReName

    Permalink
    Attributes
    protected[rescala]
    Definition Classes
    ReSource
  3. abstract def state: (SignalBundle.this)#State[Value]

    Permalink
    Attributes
    protected[rescala]
    Definition Classes
    ReSource

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def abortOnError(message: String)(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Signal[T]

    Permalink
    Annotations
    @cutOutOfUserComputation()
  5. final def apply(): T

    Permalink

    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
    MacroAccess
    Annotations
    @compileTimeOnly( ... )
    See also

    value

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. final def change(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Event[Diff[T]]

    Permalink

    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: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Event[T]

    Permalink

    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 >: T](value: V)(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Event[Unit]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  11. def commit(base: Value): Value

    Permalink
    Attributes
    protected[rescala]
    Definition Classes
    SignalReSource
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def flatten[R](implicit flatten: (SignalBundle.this)#Flatten[(SignalBundle.this)#Signal[T], R]): R

    Permalink

    Flattens the inner value.

    Flattens the inner value.

    Annotations
    @cutOutOfUserComputation()
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  17. def interpret(v: Value): T

    Permalink

    Interprets the internal type to the external type

    Interprets the internal type to the external type

    Definition Classes
    SignalInterp
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final macro def map[B](expression: (T) ⇒ B)(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Signal[B]

    Permalink

    Return a Signal with f applied to the value

    Return a Signal with f applied to the value

    Definition Classes
    SignalCompat
    Annotations
    @cutOutOfUserComputation()
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  23. final def now: T

    Permalink

    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.

  24. final def observe(onValue: (T) ⇒ Unit, onError: (Throwable) ⇒ Unit = null, fireImmediately: Boolean = true)(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Observe

    Permalink

    add an observer

  25. final def readValueOnce: T

    Permalink

    Returns the current value of the signal

  26. final def recover[R >: T](onFailure: PartialFunction[Throwable, R])(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Signal[R]

    Permalink

    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()
  27. def resource: (SignalBundle.this)#Interp[T]

    Permalink
    Definition Classes
    SignalMacroAccess
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def value: T

    Permalink

    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 rescala.macros.MacroAccess.apply.

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

    apply

  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def withDefault[R >: T](value: R)(implicit ticket: (SignalBundle.this)#CreationTicket): (SignalBundle.this)#Signal[R]

    Permalink
    Annotations
    @cutOutOfUserComputation()

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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 (SignalBundle.this)#SignalCompat[T]

Inherited from (SignalBundle.this)#InterpMacro[T]

Inherited from MacroAccess[T, (SignalBundle.this)#Interp[T]]

Inherited from (SignalBundle.this)#Interp[T]

Inherited from (SignalBundle.this)#ReSource

Inherited from (SignalBundle.this)#Disconnectable

Inherited from AnyRef

Inherited from Any

internal

Accessor and observers

Signal operators

Signal to Event conversions

Ungrouped