MCPcopy Index your code
hub / github.com/codeaashu/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 5

drainFlushGateFunction · 0.45
spawnFunction · 0.45
drainFlushGateFunction · 0.45
constructorMethod · 0.45
closeMethod · 0.45

Calls 1

spliceMethod · 0.80

Tested by

no test coverage detected