MCPcopy Index your code
hub / github.com/tiann/hapi / end

Method end

cli/src/utils/PushableAsyncIterable.ts:47–54  ·  view source on GitHub ↗

* Mark the iterable as complete

()

Source from the content-addressed store, hash-verified

45 * Mark the iterable as complete
46 */
47 end(): void {
48 if (this.isDone) {
49 return
50 }
51
52 this.isDone = true
53 this.cleanup()
54 }
55
56 /**
57 * Set an error on the iterable

Callers 15

returnMethod · 0.95
sendHookRequestFunction · 0.80
startOpencodeHookServerFunction · 0.80
disconnectMethod · 0.80
handleLineMethod · 0.80
closeMethod · 0.80
handleLineMethod · 0.80
scheduleNextMessageFunction · 0.80
startHookServerFunction · 0.80
startHappyServerFunction · 0.80

Calls 1

cleanupMethod · 0.95

Tested by 2

sendHookRequestFunction · 0.64
sendHookRequestFunction · 0.64