Skip to main content

Function: startRun()

startRun<TInput, TOutput>(node, input, options?): Promise<ExecutionRun<InferSchemaOutput<TOutput>>>

Defined in: packages/core/src/runtime/local-runs.ts:667

Start node at its place. A node that declares another place (describe().place) owns the run; any other node runs here. Starting the same runId again attaches to the run, or resumes it.

Type Parameters​

TInput​

TInput

TOutput​

TOutput

Parameters​

node​

Processable<TInput, TOutput>

input​

TInput

options?​

ExecutionStartOptions = {}

Returns​

Promise<ExecutionRun<InferSchemaOutput<TOutput>>>