@jsvision/ui / SignalOptions
Interface: SignalOptions<T>
Defined in: ui/src/reactive/signal.ts:13
Options for signal.
Type Parameters
T
T
Properties
equals?
optionalequals?:EqualsOption<T>
Defined in: ui/src/reactive/signal.ts:19
How the signal decides whether a write changed the value: a predicate returning true when the new value counts as equal to the old (equal ⇒ nothing is notified), or false to treat every write as a change (always notify). Defaults to Object.is.