MCPcopy Create free account
hub / github.com/electric-sql/electric / dispatchSend

Function dispatchSend

packages/agents-runtime/src/setup-context.ts:318–324  ·  view source on GitHub ↗
(send: PendingSend)

Source from the content-addressed store, hash-verified

316 }
317
318 const dispatchSend = (send: PendingSend): Promise<SendResult> => {
319 if (executeSendFn) {
320 return executeSendFn(send)
321 }
322 wakeSession.enqueueSend(send)
323 return Promise.resolve({ queued: true as const, targetUrl: send.targetUrl })
324 }
325
326 const sendToEntity = (
327 targetUrl: string,

Callers 4

sendToEntityFunction · 0.85
ensureObservedHandleFunction · 0.85
spawnFunction · 0.85
forkFunction · 0.85

Calls 1

enqueueSendMethod · 0.80

Tested by

no test coverage detected