MCPcopy Create free account
hub / github.com/angular/angular / producerUpdatesAllowed

Function producerUpdatesAllowed

packages/core/primitives/signals/src/graph.ts:372–374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

370 * based on the current consumer context.
371 */
372export function producerUpdatesAllowed(): boolean {
373 return activeConsumer[0]?.consumerAllowSignalWrites !== false;
374}
375
376export function consumerMarkDirty(node: ReactiveNode): void {
377 node.dirty = true;

Callers 2

signalSetFnFunction · 0.90
signalUpdateFnFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected