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

Function onDrain

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

Source from the content-addressed store, hash-verified

449 conn.off("close", onClose)
450 }
451 function onDrain() {
452 cleanup()
453 resume(Effect.void)
454 }
455 function onError(cause: Error) {
456 cleanup()
457 resume(Effect.fail(

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.70
resumeFunction · 0.50

Tested by

no test coverage detected