Function: attachRun()
attachRun<
TInput,TOutput>(node,reference,options?):Promise<ExecutionRun<InferSchemaOutput<TOutput>>>
Defined in: packages/core/src/runtime/local-runs.ts:682
Reconnect to a run. Events seen so far replay to options.onToken, then live
ones follow; result() waits for the outcome. Aborting options.signal
detaches without cancelling the run.
Type Parameters
TInput
TInput
TOutput
TOutput
Parameters
node
Processable<TInput, TOutput>
reference
options?
Returns
Promise<ExecutionRun<InferSchemaOutput<TOutput>>>