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

Function dispose

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

Source from the content-addressed store, hash-verified

311} => {
312 const scope = Scope.makeUnsafe()
313 const dispose = () => Effect.runPromise(Scope.close(scope, Exit.void))
314
315 let handlerCache:
316 | ((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