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

Method notifyGlobalSymbol

src/core/runtime/reactivity.js:280–287  ·  view source on GitHub ↗

* Notify that a global variable was written. * @param {string} name - Variable name

(name)

Source from the content-addressed store, hash-verified

278 * @param {string} name - Variable name
279 */
280 notifyGlobalSymbol(name) {
281 var subs = this._globalSymbolSubscriptions.get(name);
282 if (subs) {
283 for (var effect of subs) {
284 this._scheduleEffect(effect);
285 }
286 }
287 }
288
289 /**
290 * Notify that an element-scoped variable was written.

Callers 1

setSymbolMethod · 0.45

Calls 2

_scheduleEffectMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected