( lifecycle: SessionLifecycle, )
| 26 | ] |
| 27 | |
| 28 | export function getApplicablePrefetchIds( |
| 29 | lifecycle: SessionLifecycle, |
| 30 | ): readonly string[] { |
| 31 | return STARTUP_PREFETCHES |
| 32 | .filter(item => item.applicableTo.includes(lifecycle)) |
| 33 | .map(item => item.id) |
| 34 | } |
| 35 | |
| 36 | export function shouldRunStartupPrefetch( |
| 37 | lifecycle: SessionLifecycle, |
no outgoing calls
no test coverage detected