MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / stop

Method stop

www/js/_hyperscript-max.js:3048–3054  ·  view source on GitHub ↗

Stop this effect and clean up all subscriptions.

()

Source from the content-addressed store, hash-verified

3046 }
3047 /** Stop this effect and clean up all subscriptions. */
3048 stop() {
3049 if (this._isStopped) return;
3050 this._isStopped = true;
3051 this._reactivity._unsubscribeEffect(this);
3052 this._reactivity._cleanupOrphanedDeps(this.dependencies);
3053 this._reactivity._pendingEffects.delete(this);
3054 }
3055 };
3056 var Reactivity = class {
3057 constructor() {

Callers 2

_runPendingEffectsMethod · 0.45
stopElementEffectsMethod · 0.45

Calls 3

_unsubscribeEffectMethod · 0.45
_cleanupOrphanedDepsMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected