@tempots/dom

Signal.tap property

Invokes a callback function with the current value of the signal, without modifying the signal.

Signature:

readonly tap: (fn: (value: T) => void) => Computed;