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

Function getNextExecutionOrder

apps/sim/executor/types.ts:472–477  ·  view source on GitHub ↗
(ctx: ExecutionContext)

Source from the content-addressed store, hash-verified

470 * Returns a simple incrementing integer (1, 2, 3, ...) for clear ordering.
471 */
472export function getNextExecutionOrder(ctx: ExecutionContext): number {
473 if (!ctx.executionOrderCounter) {
474 ctx.executionOrderCounter = { value: 0 }
475 }
476 return ++ctx.executionOrderCounter.value
477}
478
479export interface ExecutionResult {
480 success: boolean

Callers 3

addSubflowErrorLogFunction · 0.90
emitSubflowSuccessEventsFunction · 0.90
createBlockLogMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected