MCPcopy Create free account
hub / github.com/0xcaff/codex-web / enqueueMessage

Function enqueueMessage

src/browser/shim.ts:231–235  ·  view source on GitHub ↗
(message: RendererToMainMessage)

Source from the content-addressed store, hash-verified

229 ensureSocket();
230 }, RECONNECT_DELAY_MS);
231}
232
233function ensureSocket(): void {
234 if (
235 socket &&
236 (socket.readyState === WebSocket.OPEN ||
237 socket.readyState === WebSocket.CONNECTING)
238 ) {

Callers 3

invokeMainFunction · 0.85
sendFunction · 0.85

Calls 2

ensureSocketFunction · 0.85
flushOutboundQueueFunction · 0.85

Tested by

no test coverage detected