( lifecycle: SessionLifecycle, prefetchId: string, )
| 34 | } |
| 35 | |
| 36 | export function shouldRunStartupPrefetch( |
| 37 | lifecycle: SessionLifecycle, |
| 38 | prefetchId: string, |
| 39 | ): boolean { |
| 40 | return STARTUP_PREFETCHES.some( |
| 41 | item => item.id === prefetchId && item.applicableTo.includes(lifecycle), |
| 42 | ) |
| 43 | } |
no outgoing calls
no test coverage detected