()
| 446 | lastPrefetchAt = now |
| 447 | |
| 448 | const fetchWithCurrentAuth = async (): Promise<FastModeResponse> => { |
| 449 | const session = await authRuntime.resolveSession({ allowRefresh: true }) |
| 450 | const auth = resolveFastModeFetchAuth(session) |
| 451 | if (!auth) { |
| 452 | throw new Error('No auth available') |
| 453 | } |
| 454 | return fetchFastModeStatus(auth) |
| 455 | } |
| 456 | |
| 457 | async function doFetch(): Promise<void> { |
| 458 | try { |
no test coverage detected