MCPcopy
hub / github.com/simstudioai/sim / addToQueue

Method addToQueue

apps/sim/executor/execution/engine.ts:206–215  ·  view source on GitHub ↗
(nodeId: string)

Source from the content-addressed store, hash-verified

204 }
205
206 private addToQueue(nodeId: string): void {
207 const node = this.dag.nodes.get(nodeId)
208 if (node?.metadata?.isResumeTrigger && !this.allowResumeTriggers) {
209 return
210 }
211
212 if (!this.readyQueue.includes(nodeId)) {
213 this.readyQueue.push(nodeId)
214 }
215 }
216
217 private addMultipleToQueue(nodeIds: string[]): void {
218 for (const nodeId of nodeIds) {

Callers 5

addMultipleToQueueMethod · 0.95
initializeQueueMethod · 0.95
store.tsFile · 0.80
store.test.tsFile · 0.80
enqueueWorkflowOperationFunction · 0.80

Calls 2

getMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected