()
| 37 | ); |
| 38 | |
| 39 | export function createThenableState(): ThenableState { |
| 40 | // The ThenableState is created the first time a component suspends. If it |
| 41 | // suspends again, we'll reuse the same state. |
| 42 | return []; |
| 43 | } |
| 44 | |
| 45 | export function trackUsedThenable<T>( |
| 46 | thenableState: ThenableState, |