Time changing value derived from the dependencies.
Type parameters
- T
-
Type stored by the signal
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait MacroAccess[T]trait ReadAs[T]trait ReSourcetrait Disconnectableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Var[A]
Members list
Grouped members
accessor
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.
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.
Attributes
add an observer
add an observer
Attributes
Returns the current value of the signal
Returns the current value of the signal
Attributes
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.
Attributes
- See also
-
apply
- Inherited from:
- MacroAccess
Signal operators
Flattens the inner value.
Flattens the inner value.
Attributes
Return a Signal with f applied to the value
Return a Signal with f applied to the value
Attributes
Sets a default value in case this signal is empty.
Sets a default value in case this signal is empty.
Attributes
Signal to Event conversions
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
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
Attributes
Create an event that fires every time the signal changes. The value associated to the event is the new value of the signal
Create an event that fires every time the signal changes. The value associated to the event is the new value of the signal
Attributes
Type members
Value members
Concrete methods
Adds another error message in case this signal is empty, also disallows handling exceptions in observers
Adds another error message in case this signal is empty, also disallows handling exceptions in observers
Attributes
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.
Attributes
Inherited methods
Attributes
- Inherited from:
- Disconnectable