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

Function runDispatcherToCompletion

apps/sim/lib/table/dispatcher.ts:364–366  ·  view source on GitHub ↗
(dispatchId: string)

Source from the content-addressed store, hash-verified

362 * wrapper (`tableRunDispatcherTask`) and the in-process inline path so both
363 * runtimes use identical loop semantics + error logging. */
364export async function runDispatcherToCompletion(dispatchId: string): Promise<void> {
365 while ((await dispatcherStep(dispatchId)) === 'continue') {}
366}
367
368/** Run one window of the dispatcher state machine. Caller re-invokes (via the
369 * trigger.dev task wrapper) until the returned status is `'done'`. */

Callers 2

runWorkflowColumnFunction · 0.85

Calls 1

dispatcherStepFunction · 0.85

Tested by

no test coverage detected