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

Function setLastCompletedBlock

apps/sim/lib/logs/execution/progress-markers.ts:113–118  ·  view source on GitHub ↗
(
  executionId: string,
  marker: ExecutionLastCompletedBlock
)

Source from the content-addressed store, hash-verified

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

Callers 2

Calls 1

setMarkerFunction · 0.85

Tested by

no test coverage detected