The current value of the signal.
When this is read inside a computation function or an effect function, this signal is automatically added to the effect or computed signal as a dependency.
The current value of the signal.
When this is read inside a computation function or an effect function, this signal is automatically added to the effect or computed signal as a dependency.
Construct a Signal.Computed signal using a mapping function over the current value of this signal.
Subscribe to changes to the value of this signal.
Set the current value of the signal.
This triggers an update of every dependency of the signal. Computed signals will recompute the next time they're read, and effects will be scheduled to run as soon as possible.
Staticis
A signal which contains a writable value.