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

Method onBlockStart

apps/sim/lib/logs/execution/logging-session.ts:160–174  ·  view source on GitHub ↗
(
    blockId: string,
    blockName: string,
    blockType: string,
    startedAt: string
  )

Source from the content-addressed store, hash-verified

158 }
159
160 async onBlockStart(
161 blockId: string,
162 blockName: string,
163 blockType: string,
164 startedAt: string
165 ): Promise<void> {
166 await this.trackProgressWrite(
167 this.persistLastStartedBlock({
168 blockId,
169 blockName,
170 blockType,
171 startedAt,
172 })
173 )
174 }
175
176 /**
177 * Persist the last-started-block marker. Redis is the primary path; falls back

Callers 5

wrappedOnBlockStartFunction · 0.80
addSubflowErrorLogFunction · 0.80

Calls 2

trackProgressWriteMethod · 0.95

Tested by

no test coverage detected