MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / stop

Method stop

tools/common/_hyperscript.iife.js:2998–3004  ·  view source on GitHub ↗

Stop this effect and clean up all subscriptions.

()

Source from the content-addressed store, hash-verified

2996 }
2997 /** Stop this effect and clean up all subscriptions. */
2998 stop() {
2999 if (this._isStopped) return;
3000 this._isStopped = true;
3001 this._reactivity._unsubscribeEffect(this);
3002 this._reactivity._cleanupOrphanedDeps(this.dependencies);
3003 this._reactivity._pendingEffects.delete(this);
3004 }
3005 };
3006 var Reactivity = class {
3007 constructor() {

Callers 3

deactivateFunction · 0.45
_runPendingEffectsMethod · 0.45
stopElementEffectsMethod · 0.45

Calls 3

_unsubscribeEffectMethod · 0.45
_cleanupOrphanedDepsMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected