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

Method notifyGlobalSymbol

www/js/_hyperscript.esm.js:3158–3165  ·  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

3156 * @param {string} name - Variable name
3157 */
3158 notifyGlobalSymbol(name) {
3159 var subs = this._globalSymbolSubscriptions.get(name);
3160 if (subs) {
3161 for (var effect of subs) {
3162 this._scheduleEffect(effect);
3163 }
3164 }
3165 }
3166 /**
3167 * Notify that an element-scoped variable was written.
3168 * @param {string} name - Variable name

Callers 1

setSymbolMethod · 0.45

Calls 2

getMethod · 0.45
_scheduleEffectMethod · 0.45

Tested by

no test coverage detected