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

Method notifyGlobalSymbol

www/js/_hyperscript-max.js:3159–3166  ·  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

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

Callers 1

setSymbolMethod · 0.45

Calls 2

getMethod · 0.45
_scheduleEffectMethod · 0.45

Tested by

no test coverage detected