* Serialize a query key to a string for cache lookup.
(queryKey: readonly unknown[])
| 163 | * Serialize a query key to a string for cache lookup. |
| 164 | */ |
| 165 | function serializeQueryKey(queryKey: readonly unknown[]): string { |
| 166 | return JSON.stringify(queryKey) |
| 167 | } |
| 168 | |
| 169 | // Module-level map to track GC timeouts (survives component unmount) |
| 170 | const gcTimeouts = new Map<string, ReturnType<typeof setTimeout>>() |
no outgoing calls
no test coverage detected