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

Function setLastStartedBlock

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

Source from the content-addressed store, hash-verified

100 * back to the durable SQL path) when Redis is unavailable or the write fails.
101 */
102export async function setLastStartedBlock(
103 executionId: string,
104 marker: ExecutionLastStartedBlock
105): Promise<boolean> {
106 return setMarker(executionId, STARTED_FIELD, 'startedAt', marker.startedAt, marker)
107}
108
109/**
110 * Persist the last-completed-block marker. Returns `false` (caller should fall

Callers 2

Calls 1

setMarkerFunction · 0.85

Tested by

no test coverage detected