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

Function onFinish

packages/platform/node/src/NodeHttpClient.ts:568–571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

566 nodeRequest.once("error", onError)
567
568 function onFinish() {
569 nodeRequest.off("error", onError)
570 resume(Effect.void)
571 }
572 nodeRequest.once("finish", onFinish)
573
574 return Effect.sync(() => {

Callers

nothing calls this directly

Calls 1

resumeFunction · 0.50

Tested by

no test coverage detected