()
| 105 | />, |
| 106 | { |
| 107 | onShellReady() { |
| 108 | shellRendered = true; |
| 109 | const body = new PassThrough(); |
| 110 | const stream = createReadableStreamFromReadable(body); |
| 111 | |
| 112 | responseHeaders.set("Content-Type", "text/html"); |
| 113 | |
| 114 | resolve( |
| 115 | new Response(stream, { |
| 116 | headers: responseHeaders, |
| 117 | status: responseStatusCode, |
| 118 | }) |
| 119 | ); |
| 120 | |
| 121 | pipe(body); |
| 122 | }, |
| 123 | onShellError(error: unknown) { |
| 124 | reject(error); |
| 125 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected