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