bindSignal<V, S extends ReadonlySignal<V>> method

S bindSignal<V, S extends ReadonlySignal<V>>(
  1. S val
)

Bind an existing signal

Implementation

S bindSignal<V, S extends ReadonlySignal<V>>(S val) {
  _watch(val, false);
  return val;
}