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

Function createOrchestrator

apps/sim/executor/orchestrators/loop.test.ts:77–85  ·  view source on GitHub ↗
(loopConfigs = new Map<string, any>())

Source from the content-addressed store, hash-verified

75}
76
77function createOrchestrator(loopConfigs = new Map<string, any>()) {
78 const state = createState()
79 const orchestrator = new LoopOrchestrator(
80 { loopConfigs, parallelConfigs: new Map(), nodes: new Map() } as any,
81 state,
82 { resolveSingleReference: vi.fn() } as any
83 )
84 return { orchestrator, setBlockOutput: vi.mocked(state.setBlockOutput) }
85}
86
87describe('LoopOrchestrator', () => {
88 beforeEach(() => {

Callers 1

loop.test.tsFile · 0.70

Calls 1

createStateFunction · 0.70

Tested by

no test coverage detected