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

Method notifyGlobalSymbol

www/js/_hyperscript.js:3160–3167  ·  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

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

Callers 1

setSymbolMethod · 0.45

Calls 2

getMethod · 0.45
_scheduleEffectMethod · 0.45

Tested by

no test coverage detected