MCPcopy Index your code
hub / github.com/angular/angular / EffectRefImpl

Class EffectRefImpl

packages/core/src/render3/reactivity/effect.ts:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49export class EffectRefImpl implements EffectRef {
50 [SIGNAL]: EffectNode;
51
52 constructor(node: EffectNode) {
53 this[SIGNAL] = node;
54 }
55
56 destroy(): void {
57 this[SIGNAL].destroy();
58 }
59}
60
61/**
62 * Options passed to the `effect` function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…