MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getInFlight

Function getInFlight

cli/src/hooks/use-activity-query.ts:624–626  ·  view source on GitHub ↗
(queryKey: readonly unknown[])

Source from the content-addressed store, hash-verified

622 setQueryFetching(serializeQueryKey(queryKey), fetching)
623 },
624 getInFlight(queryKey: readonly unknown[]): boolean {
625 return inFlight.has(serializeQueryKey(queryKey))
626 },
627 /**
628 * Simulate the exact retry scheduling logic from doFetch's catch block.
629 * This reproduces the code path that caused the infinite retry loop bug.

Callers

nothing calls this directly

Calls 1

serializeQueryKeyFunction · 0.85

Tested by

no test coverage detected