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

Method waitForAllExecutions

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

Source from the content-addressed store, hash-verified

245 }
246
247 private async waitForAllExecutions(): Promise<void> {
248 await Promise.race([Promise.all(this.executing), this.abortPromise])
249 if (this.executing.size > 0) {
250 await Promise.allSettled(this.executing)
251 }
252 }
253
254 private async withQueueLock<T>(fn: () => Promise<T> | T): Promise<T> {
255 const prevLock = this.queueLock

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected