MCPcopy Index your code
hub / github.com/Effect-TS/effect / dispose

Function dispose

packages/platform/src/HttpApp.ts:275–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273} => {
274 const scope = Effect.runSync(Scope.make())
275 const dispose = () => Effect.runPromise(Scope.close(scope, Exit.void))
276
277 let handlerCache: ((request: Request, context?: Context.Context<never> | undefined) => Promise<Response>) | undefined
278 let handlerPromise:

Callers 1

HttpRunner.test.tsFile · 0.50

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected