MCPcopy Create free account
hub / github.com/Streamerbot/client / handleCustomEvent

Function handleCustomEvent

packages/client/src/ws/util/websocket.util.ts:123–130  ·  view source on GitHub ↗
(eventData: any)

Source from the content-addressed store, hash-verified

121
122 // Add listener with cleanup
123 addEventListener('Custom.Event', handleCustomEvent);
124
125 // Set up timeout
126 const timeoutId = setTimeout(() => {
127 controller.abort();
128 reject(new Error('Timed out waiting for Custom Event'));
129 }, timeout);
130
131 // Cleanup function
132 signal.addEventListener(
133 'abort',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected