MCPcopy
hub / github.com/claude-code-best/claude-code / setOnEnqueue

Function setOnEnqueue

src/utils/udsMessaging.ts:292–294  ·  view source on GitHub ↗
(cb: (() => void) | null)

Source from the content-addressed store, hash-verified

290 * Used by the print/SDK query loop to kick off processing.
291 */
292export function setOnEnqueue(cb: (() => void) | null): void {
293 onEnqueueCb = cb
294}
295
296/**
297 * Drain all pending inbox messages and release retained history.

Callers 3

waitForEnqueuesFunction · 0.85
runHeadlessStreamingFunction · 0.85

Calls

no outgoing calls

Tested by 1

waitForEnqueuesFunction · 0.68