MCPcopy Index your code
hub / github.com/simstudioai/sim / prefetchLogDetail

Function prefetchLogDetail

apps/sim/hooks/queries/logs.ts:224–230  ·  view source on GitHub ↗
(queryClient: QueryClient, logId: string, workspaceId: string)

Source from the content-addressed store, hash-verified

222}
223
224export function prefetchLogDetail(queryClient: QueryClient, logId: string, workspaceId: string) {
225 queryClient.prefetchQuery({
226 queryKey: logKeys.detail(workspaceId, logId),
227 queryFn: ({ signal }) => fetchLogDetail(logId, workspaceId, signal),
228 staleTime: 30 * 1000,
229 })
230}
231
232async function fetchDashboardStats(
233 workspaceId: string,

Callers 1

LogsFunction · 0.90

Calls 1

fetchLogDetailFunction · 0.70

Tested by

no test coverage detected