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

Function dispose

packages/effect/src/http/HttpEffect.ts:536–536  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

534 const scope = Scope.makeUnsafe()
535 let disposing: Promise<void> | undefined
536 const dispose = () => disposing ??= Effect.runPromise(Scope.close(scope, Exit.void))
537
538 let handlerCache:
539 | ((request: Request, context?: Context.Context<ReqR> | undefined) => Promise<globalThis.Response>)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected