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

Function invalidateDeployedStateCache

apps/sim/lib/workflows/persistence/utils.ts:118–124  ·  view source on GitHub ↗
(deploymentVersionId?: string)

Source from the content-addressed store, hash-verified

116
117/** Evicts one deployed-state entry, or clears the cache when no id is given. */
118export function invalidateDeployedStateCache(deploymentVersionId?: string): void {
119 if (deploymentVersionId) {
120 deployedStateCache.delete(deploymentVersionId)
121 return
122 }
123 deployedStateCache.clear()
124}
125
126export async function loadDeployedWorkflowState(
127 workflowId: string,

Calls 2

deleteMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected