()
| 55 | />, |
| 56 | { |
| 57 | onAllReady() { |
| 58 | shellRendered = true; |
| 59 | const body = new PassThrough(); |
| 60 | const stream = createReadableStreamFromReadable(body); |
| 61 | |
| 62 | responseHeaders.set("Content-Type", "text/html"); |
| 63 | |
| 64 | resolve( |
| 65 | new Response(stream, { |
| 66 | headers: responseHeaders, |
| 67 | status: responseStatusCode, |
| 68 | }) |
| 69 | ); |
| 70 | |
| 71 | pipe(body); |
| 72 | }, |
| 73 | onShellError(error: unknown) { |
| 74 | reject(error); |
| 75 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected