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

Function collectExecutionControlFieldNames

apps/sim/executor/utils/start-block.ts:164–174  ·  view source on GitHub ↗
(fieldNames: Iterable<string | undefined>)

Source from the content-addressed store, hash-verified

162}
163
164function collectExecutionControlFieldNames(fieldNames: Iterable<string | undefined>): string[] {
165 const reservedFieldNames = new Set<string>()
166
167 for (const fieldName of fieldNames) {
168 if (fieldName && EXECUTION_CONTROL_OUTPUT_FIELD_NAME_SET.has(fieldName)) {
169 reservedFieldNames.add(fieldName)
170 }
171 }
172
173 return Array.from(reservedFieldNames)
174}
175
176function throwReservedStartOutputFieldsError(
177 block: SerializedBlock,

Calls 1

addMethod · 0.45

Tested by

no test coverage detected