You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cached query doesn't abort uncached resulting in race conditions #498
If query started with cached parameters it doesn't abort running uncached query
constcachedQuery=createQuery({handler(){constac=newAbortController();onAbort(()=>{ac.abort("early aborted");});
...
}})concurrency(cachedQuery,{strategy: "TAKE_LATEST"});cache(cachedQuery,{staleAfter: "1m"});cachedQuery.start('1st');// long query that will be cached/// wait for complete ...cachedQuery.start('2nd');// long query that should be aborted// start cached query before 2nd resolvedcachedQuery.start('1st');// completes almost immediately but doesnt abort 2nd
Activity