MCPcopy
hub / github.com/rx-angular/rx-angular / signal

Method signal

libs/state/src/lib/rx-state.service.ts:902–904  ·  view source on GitHub ↗

* @description * Returns a signal of the given key. It's first value is determined by the * current keys value in RxState. Whenever the key gets updated, the signal * will also be updated accordingly. * * @example * const fooSignal = state.signal('foo'); * * @param {Key} key

(key: Key)

Source from the content-addressed store, hash-verified

900 * @return Signal<State[Key]>
901 */
902 signal<Key extends keyof State>(key: Key): Signal<State[Key]> {
903 return this.signalStoreProxy[key];
904 }
905
906 /**
907 * @description

Callers 3

rx-state.spec.tsFile · 0.80
TestComponentClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected