Skip to main content

ParallelModelPipeline.RunAsync method

Executes the configured pipeline and returns its recorded outcome.

public Task<PipelineRunResult> RunAsync(PipelineCallbacks? callbacks = null,
CancellationToken cancellationToken = default)
parameterdescription
callbacksThe optional callbacks associated with the operation or step.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the pipeline run result.

See Also​