(
request: Request,
context?: Context.Context<ReqR> | undefined
)
| 551 | readyPromise.catch(constVoid) |
| 552 | const ready = () => readyPromise |
| 553 | function handler( |
| 554 | request: Request, |
| 555 | context?: Context.Context<ReqR> | undefined |
| 556 | ): Promise<globalThis.Response> { |
| 557 | if (handlerCache) { |
| 558 | return handlerCache(request, context) |
| 559 | } |
| 560 | return readyPromise.then(() => handlerCache!(request, context)) |
| 561 | } |
| 562 | return { dispose, ready, handler: handler as any } as const |
| 563 | } |
| 564 |
no outgoing calls
no test coverage detected