Creates a new signal with the given initial value and options.
The initial signal value.
The base signal options.
Protected
isSets a new value. If the new value does not equal the old value then subscribers are informed about the change. By default values are compared with
Object.is()
but this behavior can be changed by specifying a custom equals
method when creating the signal.
The new value to set.
The most basic form of a signal which is just a container for a value providing read and write access to the value and allowing to monitor the value for changes by subscribing to it.