| 47 | } |
| 48 | |
| 49 | export 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. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…