MCPcopy Create free account
hub / github.com/IIIIQIIII/claude-code / end

Method end

src/bridge/flushGate.ts:37–40  ·  view source on GitHub ↗

* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.

()

Source from the content-addressed store, hash-verified

35 * Caller is responsible for sending the returned items.
36 */
37 end(): T[] {
38 this._active = false
39 return this._pending.splice(0)
40 }
41
42 /**
43 * If flush is active, queue the items and return true.

Callers 12

drainFlushGateFunction · 0.45
spawnFunction · 0.45
drainFlushGateFunction · 0.45
REPLFunction · 0.45
constructorMethod · 0.45
closeMethod · 0.45
handleSuccessRedirectMethod · 0.45
handleErrorRedirectMethod · 0.45
handleRedirectMethod · 0.45
validateAndRespondMethod · 0.45
waitForCallbackFunction · 0.45
performMCPOAuthFlowFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected