Skip to content

@oona/vlo / host / startRun

Function: startRun() ​

startRun(ctx, opts): Promise<{ run_id: string; }>

Defined in: sdk/ts/sdk/src/host/runs.ts:71

Writes a created run row and kicks the dispatcher; the started event is folded by the outbox. Idempotent on runId. Runs on a host with the api role.

Parameters ​

ctx ​

HostContext

opts ​

StartRunInput

Returns ​

Promise<{ run_id: string; }>

Throws ​

WorkflowRejected when the workflow is not registered.