( request: Request, index: number, boundary: null | SuspenseBoundary, parentFormatContext: FormatContext, lastPushedText: boolean, textEmbedded: boolean, )
| 953 | } |
| 954 | |
| 955 | function createPendingSegment( |
| 956 | request: Request, |
| 957 | index: number, |
| 958 | boundary: null | SuspenseBoundary, |
| 959 | parentFormatContext: FormatContext, |
| 960 | lastPushedText: boolean, |
| 961 | textEmbedded: boolean, |
| 962 | ): Segment { |
| 963 | return { |
| 964 | status: PENDING, |
| 965 | parentFlushed: false, |
| 966 | id: -1, // lazily assigned later |
| 967 | index, |
| 968 | chunks: [], |
| 969 | children: [], |
| 970 | preambleChildren: [], |
| 971 | parentFormatContext, |
| 972 | boundary, |
| 973 | lastPushedText, |
| 974 | textEmbedded, |
| 975 | }; |
| 976 | } |
| 977 | |
| 978 | function getCurrentStackInDEV(): string { |
| 979 | if (__DEV__) { |
no outgoing calls
no test coverage detected