MCPcopy Create free account
hub / github.com/Effect-TS/effect / cleanup

Function cleanup

packages/platform/node-shared/src/NodeSocket.ts:393–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391 tls.pause()
392
393 function cleanup() {
394 tls.off(secureEvent, succeed)
395 tls.off("error", failUpgrade)
396 tls.off("close", onUpgradeClose)
397 }
398 function succeed() {
399 cleanup()
400 upgradeAvailable = false

Callers 15

releaseWritableFunction · 0.70
pullIntoWritableFunction · 0.70
succeedFunction · 0.70
failUpgradeFunction · 0.70
upgradeFunction · 0.70
onDrainFunction · 0.70
onErrorFunction · 0.70
onCloseFunction · 0.70
toStringFunction · 0.70
toArrayBufferFunction · 0.70
drainReadableFunction · 0.70
readableToPullUnsafeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected