The type of the value that should be stored and deserialized.
The initialValue for the signal if it isn't in storage.
The key to use for storage. This should be unique to avoid conflicts when deserializing values.
The provider of storage.
Standard create signal options.
A writable signal
Creates a signal that will sync changes to some sort of storage. The next time a signal with the same key is read, an alternative value to the initial value will be used. It's probably better to use sessionStorageSignal or localStorageSignal instead of this.