(sessionKey: string, version: string)
| 69 | } |
| 70 | |
| 71 | export function beginSessionLabelHydration(sessionKey: string, version: string): boolean { |
| 72 | if (sessionLabelHydrationInFlight.get(sessionKey) === version) return false; |
| 73 | if (sessionLabelHydrationHandled.get(sessionKey)?.version === version) return false; |
| 74 | sessionLabelHydrationInFlight.set(sessionKey, version); |
| 75 | return true; |
| 76 | } |
| 77 | |
| 78 | export function finishSessionLabelHydration( |
| 79 | sessionKey: string, |
no test coverage detected