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

Method setBlockOutput

apps/sim/executor/execution/state.ts:150–153  ·  view source on GitHub ↗
(blockId: string, output: NormalizedBlockOutput, executionTime = 0)

Source from the content-addressed store, hash-verified

148 }
149
150 setBlockOutput(blockId: string, output: NormalizedBlockOutput, executionTime = 0): void {
151 this.blockStates.set(blockId, { output, executed: true, executionTime })
152 this.executedBlocks.add(blockId)
153 }
154
155 setBlockState(blockId: string, state: BlockState): void {
156 this.blockStates.set(blockId, state)

Callers 3

createResolverFunction · 0.95
createOffloadEnvFunction · 0.95
createTestContextFunction · 0.95

Calls 2

setMethod · 0.65
addMethod · 0.45

Tested by 3

createResolverFunction · 0.76
createOffloadEnvFunction · 0.76
createTestContextFunction · 0.76