Source signals with imperatively updates.
- Type Params
- A
Type stored by the signal
- S
Struct type used for the propagation of the signal
- Companion
- object
Document{}
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
- Inherited from
- Signal
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
- Inherited from
- Signal
Convenience function filtering to events which change this reactive to value
Convenience function filtering to events which change this reactive to value
- Inherited from
- Signal
Flattens the inner value.
Flattens the inner value.
- Inherited from
- Signal
Return a Signal with f applied to the value
Return a Signal with f applied to the value
- Inherited from
- SignalCompat
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.
- Inherited from
- Signal
add an observer
add an observer
- Inherited from
- Signal
Returns the current value of the signal
Returns the current value of the signal
- Inherited from
- Signal
Value members
Concrete methods
Inherited methods
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.
- Inherited from
- Signal