MCPcopy Index your code
hub / github.com/codeaashu/claude-code / enqueue

Method enqueue

src/bridge/flushGate.ts:46–50  ·  view source on GitHub ↗

* If flush is active, queue the items and return true. * If flush is not active, return false (caller should send directly).

(...items: T[])

Source from the content-addressed store, hash-verified

44 * If flush is not active, return false (caller should send directly).
45 */
46 enqueue(...items: T[]): boolean {
47 if (!this._active) return false
48 this._pending.push(...items)
49 return true
50 }
51
52 /**
53 * Discard all queued items (permanent transport close).

Callers 2

writeMessagesFunction · 0.45
writeMessagesFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected