A function that calculates the signal value and returns it.
Optional
options: SignalOptions<T>Signal options.
A computed signal.
Sequentially creates new entities by passing the result of the operator execution from the previous one to the next one.
The result of the last operator execution.
Empty operator pipe. Returns the signal itself.
The signal.
Subscribes the passed function to updates of the signal value.
A function subscribed to updates.
Optional
immediate: IDetermines whether the function should be executed immediately after subscription. Default is true.
An unsubscribe function.
A basic reactive primitive. Notifies consumers of a change in the stored value and triggers them to recalculate.