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

Function onAbort

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

Source from the content-addressed store, hash-verified

270 else controller?.abort(error)
271 }
272 const onAbort = () => abort(signal.reason)
273 const fail = (cause: unknown) =>
274 resume(Effect.fail(
275 new Error.HttpClientError({

Callers 1

dispatchUpgradeFunction · 0.70

Calls 2

abortFunction · 0.70
destroyMethod · 0.45

Tested by

no test coverage detected