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

Function createState

apps/sim/executor/orchestrators/loop.test.ts:47–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47function createState(): BlockStateController {
48 return {
49 getBlockOutput: vi.fn(),
50 hasExecuted: vi.fn(() => false),
51 setBlockOutput: vi.fn(),
52 setBlockState: vi.fn(),
53 deleteBlockState: vi.fn(),
54 unmarkExecuted: vi.fn(),
55 }
56}
57
58function createContext(scope: Record<string, unknown> = {}, loopId = 'loop-1'): ExecutionContext {
59 return {

Callers 2

createOrchestratorFunction · 0.70
loop.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected