MCPcopy
hub / github.com/protectwise/troika / notifyWorld

Method notifyWorld

packages/troika-core/src/facade/Facade.js:112–116  ·  view source on GitHub ↗

* Dispatch a message with optional data up the facade parent tree.

(message, data)

Source from the content-addressed store, hash-verified

110 * Dispatch a message with optional data up the facade parent tree.
111 */
112 notifyWorld(message, data) {
113 if (this.parent) {
114 this.parent.onNotifyWorld(this, message, data)
115 }
116 }
117
118 /**
119 * Default onNotifyWorld handler just bubbles it up the parent chain.

Callers 15

requestRenderMethod · 0.95
addEventListenerMethod · 0.95
removeEventListenerMethod · 0.95
dispatchEventMethod · 0.95
destructorMethod · 0.95
constructorMethod · 0.80
destructorMethod · 0.80
Facade.test.jsFile · 0.80
constructorMethod · 0.80
_onXrFrameMethod · 0.80
_trackGamepadStateMethod · 0.80
_onSessionEventMethod · 0.80

Calls 1

onNotifyWorldMethod · 0.45

Tested by

no test coverage detected