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

Function clearExecutionPointer

apps/sim/stores/terminal/console/storage.ts:312–320  ·  view source on GitHub ↗
(workflowId: string)

Source from the content-addressed store, hash-verified

310}
311
312export function clearExecutionPointer(workflowId: string): Promise<void> {
313 if (typeof window === 'undefined') return Promise.resolve()
314 try {
315 window.sessionStorage.removeItem(`${EXEC_POINTER_PREFIX}${workflowId}`)
316 } catch {
317 return Promise.resolve()
318 }
319 return Promise.resolve()
320}

Callers 4

doExecuteRunToolFunction · 0.90
clearExecutionStateFunction · 0.90
useWorkflowExecutionFunction · 0.90

Calls 2

removeItemMethod · 0.80
resolveMethod · 0.65

Tested by

no test coverage detected