(task: () => Promise<void>)
| 815 | } |
| 816 | |
| 817 | const runPersistedRetentionMaintenance = (task: () => Promise<void>) => { |
| 818 | persistedRetentionMaintenance = persistedRetentionMaintenance.then( |
| 819 | task, |
| 820 | task, |
| 821 | ) |
| 822 | return persistedRetentionMaintenance |
| 823 | } |
| 824 | |
| 825 | const cancelPersistedRetentionExpiry = (hashedQueryKey: string) => { |
| 826 | const timer = persistedRetentionTimers.get(hashedQueryKey) |
no outgoing calls
no test coverage detected