MCPcopy Create free account
hub / github.com/composify-js/composify / emit

Method emit

packages/react/src/utils/Bridge/Bridge.ts:26–28  ·  view source on GitHub ↗
(event: BridgeEvent)

Source from the content-addressed store, hash-verified

24 }
25
26 public emit(event: BridgeEvent) {
27 this.target.postMessage(event, this.origin);
28 }
29
30 public on<EventType extends BridgeEventType>(
31 type: EventType,

Callers 3

CloudEditorEventHandlerFunction · 0.95
CloudEditorInitializerFunction · 0.95
CloudEditorControlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected