( executionId: string, marker: ExecutionLastCompletedBlock )
| 111 | * back to the durable SQL path) when Redis is unavailable or the write fails. |
| 112 | */ |
| 113 | export async function setLastCompletedBlock( |
| 114 | executionId: string, |
| 115 | marker: ExecutionLastCompletedBlock |
| 116 | ): Promise<boolean> { |
| 117 | return setMarker(executionId, COMPLETED_FIELD, 'endedAt', marker.endedAt, marker) |
| 118 | } |
| 119 | |
| 120 | export interface ExecutionProgressMarkers { |
| 121 | lastStartedBlock?: ExecutionLastStartedBlock |
no test coverage detected