Creates a writable signal with a getter and setter pair.
Reading the getter tracks the signal as a dependency of the active computation. Writing updates the stored value and invalidates dependent computations when the value changed.
The initial signal value.
Optional signal behavior overrides.
A getter and setter pair for the signal.
Creates a writable signal with a getter and setter pair.
Reading the getter tracks the signal as a dependency of the active computation. Writing updates the stored value and invalidates dependent computations when the value changed.