()
| 281 | } => { |
| 282 | const scope = Effect.runSync(Scope.make()) |
| 283 | const dispose = () => Effect.runPromise(Scope.close(scope, Exit.void)) |
| 284 | |
| 285 | let handlerCache: ((request: Request, context?: Context.Context<never> | undefined) => Promise<Response>) | undefined |
| 286 | // build eagerly so the layer is not tied to the lifetime of the first request |