()
| 773 | } |
| 774 | |
| 775 | export function readPreviousThenableFromState<T>(): T | void { |
| 776 | const index = thenableIndexCounter; |
| 777 | thenableIndexCounter += 1; |
| 778 | if (thenableState === null) { |
| 779 | return undefined; |
| 780 | } |
| 781 | return readPreviousThenable(thenableState, index); |
| 782 | } |
| 783 | |
| 784 | function unsupportedRefresh() { |
| 785 | throw new Error('Cache cannot be refreshed during server rendering.'); |
no test coverage detected