(key: string)
| 194 | } |
| 195 | |
| 196 | function deleteCacheEntry(key: string): void { |
| 197 | bumpGeneration(key) |
| 198 | clearRetryState(key) |
| 199 | inFlight.delete(key) |
| 200 | cache.fetchingKeys.delete(key) |
| 201 | cache.entries.delete(key) |
| 202 | cache.refCounts.delete(key) |
| 203 | snapshotMemo.delete(key) |
| 204 | notifyKeyListeners(key) |
| 205 | } |
| 206 | export type UseActivityQueryOptions<T> = { |
| 207 | /** Unique key for caching the query */ |
| 208 | queryKey: readonly unknown[] |
no test coverage detected