MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / emit

Function emit

src/lib/editorManager.js:174–177  ·  view source on GitHub ↗
(event, ...args)

Source from the content-addressed store, hash-verified

172 "remove-file": [],
173 "int-open-file-list": [],
174 emit(event, ...args) {
175 if (!events[event]) return;
176 events[event].forEach((fn) => fn(...args));
177 },
178 };
179 const $container = <div className="editor-container"></div>;
180 // Ensure the container participates well in flex layouts and can constrain the editor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected