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

Function createLoopScope

apps/sim/executor/variables/resolvers/loop.test.ts:52–59  ·  view source on GitHub ↗
(overrides: Partial<LoopScope> = {})

Source from the content-addressed store, hash-verified

50}
51
52function createLoopScope(overrides: Partial<LoopScope> = {}): LoopScope {
53 return {
54 iteration: 0,
55 currentIterationOutputs: new Map(),
56 allIterationOutputs: [],
57 ...overrides,
58 }
59}
60
61function createTestContext(
62 currentNodeId: string,

Callers 1

loop.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected