MCPcopy Create free account
hub / github.com/Noumena-Network/code / close

Method close

src/cli/remoteIO.ts:394–401  ·  view source on GitHub ↗

* Clean up connections gracefully

()

Source from the content-addressed store, hash-verified

392 * Clean up connections gracefully
393 */
394 close(): void {
395 if (this.keepAliveTimer) {
396 clearInterval(this.keepAliveTimer)
397 this.keepAliveTimer = null
398 }
399 this.transport.close()
400 this.inputStream.end()
401 }
402}

Callers 15

constructorMethod · 0.95
loadRejectionDiffFunction · 0.45
shutdownMethod · 0.45
callFunction · 0.45
disposeKeybindingWatcherFunction · 0.45
loadDiffDataFunction · 0.45
writeFileAndFlushFunction · 0.45
rebuildTransportFunction · 0.45
teardownFunction · 0.45
createV1ReplTransportFunction · 0.45
closeFunction · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected