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

Method waitForAnyExecution

apps/sim/executor/execution/engine.ts:241–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 }
240
241 private async waitForAnyExecution(): Promise<void> {
242 if (this.executing.size > 0) {
243 await Promise.race([...this.executing, this.abortPromise])
244 }
245 }
246
247 private async waitForAllExecutions(): Promise<void> {
248 await Promise.race([Promise.all(this.executing), this.abortPromise])

Callers 1

processQueueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected