Optional
equalShall return true
if the two values are considered equal.
Reactive assignments using a new value equal to the current value
will be ignored.
By default, Object.is
is used to compare values.
Optional
unwatchedThis function will be invoked when the last watcher stops watching this signal.
See also watched.
Optional
watchedThis function will be invoked when the first watcher starts to watch this signal.
See also unwatched.
Options that can be passed when creating a new signal.