( request: Request, destination: Destination, boundary: SuspenseBoundary, )
| 5820 | } |
| 5821 | |
| 5822 | function flushClientRenderedBoundary( |
| 5823 | request: Request, |
| 5824 | destination: Destination, |
| 5825 | boundary: SuspenseBoundary, |
| 5826 | ): boolean { |
| 5827 | if (__DEV__) { |
| 5828 | return writeClientRenderBoundaryInstruction( |
| 5829 | destination, |
| 5830 | request.resumableState, |
| 5831 | request.renderState, |
| 5832 | boundary.rootSegmentID, |
| 5833 | boundary.errorDigest, |
| 5834 | boundary.errorMessage, |
| 5835 | boundary.errorStack, |
| 5836 | boundary.errorComponentStack, |
| 5837 | ); |
| 5838 | } else { |
| 5839 | return writeClientRenderBoundaryInstruction( |
| 5840 | destination, |
| 5841 | request.resumableState, |
| 5842 | request.renderState, |
| 5843 | boundary.rootSegmentID, |
| 5844 | boundary.errorDigest, |
| 5845 | null, |
| 5846 | null, |
| 5847 | null, |
| 5848 | ); |
| 5849 | } |
| 5850 | } |
| 5851 | |
| 5852 | function flushSegmentContainer( |
| 5853 | request: Request, |
no test coverage detected