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

Function emit

src/handlers/windowResize.js:71–74  ·  view source on GitHub ↗

* Emit event * @param {ResizeEventName} eventName * @returns

(eventName)

Source from the content-addressed store, hash-verified

69 * @returns
70 */
71function emit(eventName) {
72 if (!event[eventName]) return;
73 event[eventName].forEach((cb) => cb());
74}

Callers 2

windowResizeFunction · 0.70
onResizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected