(workflowId: string)
| 310 | } |
| 311 | |
| 312 | export 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 | } |
no test coverage detected