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

Function restoreCachedWorkflowCells

apps/sim/hooks/queries/tables.ts:1950–1957  ·  view source on GitHub ↗
(
  queryClient: ReturnType<typeof useQueryClient>,
  snapshots: RowsCacheSnapshots
)

Source from the content-addressed store, hash-verified

1948}
1949
1950export function restoreCachedWorkflowCells(
1951 queryClient: ReturnType<typeof useQueryClient>,
1952 snapshots: RowsCacheSnapshots
1953) {
1954 for (const [key, data] of snapshots) {
1955 queryClient.setQueryData(key, data)
1956 }
1957}
1958
1959/**
1960 * Optimistic exec patch — flips every targeted (group, row) execution to

Callers 2

useCancelTableRunsFunction · 0.85
useRunColumnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected