( destination: Destination, renderState: RenderState, )
| 4463 | } |
| 4464 | |
| 4465 | function writeBootstrap( |
| 4466 | destination: Destination, |
| 4467 | renderState: RenderState, |
| 4468 | ): boolean { |
| 4469 | const bootstrapChunks = renderState.bootstrapChunks; |
| 4470 | let i = 0; |
| 4471 | for (; i < bootstrapChunks.length - 1; i++) { |
| 4472 | writeChunk(destination, bootstrapChunks[i]); |
| 4473 | } |
| 4474 | if (i < bootstrapChunks.length) { |
| 4475 | const lastChunk = bootstrapChunks[i]; |
| 4476 | bootstrapChunks.length = 0; |
| 4477 | return writeChunkAndReturn(destination, lastChunk); |
| 4478 | } |
| 4479 | return true; |
| 4480 | } |
| 4481 | |
| 4482 | const shellTimeRuntimeScript = stringToPrecomputedChunk(markShellTime); |
| 4483 |
no test coverage detected