The type of the signal tuple portion of params.
The type of the value output by the selector function
One or more signals, then the selector.
A readonly signal emitting the selector value
Creates a signal whose input value is immediately mapped to a different value based on a selector. The selector can contain signals and will react to changes in those signals.
The initial value that will be run
A selector that is run after the value of the signal is changed.
Optional
options: MapSignalOptions<R>Can see equality function or if the selector or injector since this uses a computed function.
A writable signal whose output value is mapped with the selector.
Creates a signal from one or more signals that are mapped using the selector function. This is slightly different from compute as all values will be recalculated even if logic in the selector only uses some.