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

Method notifyGlobalSymbol

tools/common/_hyperscript.iife.js:3094–3101  ·  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

3092 * @param {string} name - Variable name
3093 */
3094 notifyGlobalSymbol(name) {
3095 var subs = this._globalSubscriptions.get(name);
3096 if (subs) {
3097 for (var effect of subs) {
3098 this._scheduleEffect(effect);
3099 }
3100 }
3101 }
3102 /**
3103 * Notify that an element-scoped variable was written.
3104 * @param {string} name - Variable name

Callers 1

setSymbolMethod · 0.45

Calls 2

getMethod · 0.45
_scheduleEffectMethod · 0.45

Tested by

no test coverage detected