Share via


FlowExtensions.BuildReferenceAsync(Flow, IFlowCatalog) Method

Definition

Hydrate the reference steps in the flow.

public static System.Threading.Tasks.Task<Microsoft.SemanticKernel.Experimental.Orchestration.Flow> BuildReferenceAsync (this Microsoft.SemanticKernel.Experimental.Orchestration.Flow flow, Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions.IFlowCatalog flowRepository);
static member BuildReferenceAsync : Microsoft.SemanticKernel.Experimental.Orchestration.Flow * Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions.IFlowCatalog -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.Experimental.Orchestration.Flow>
<Extension()>
Public Function BuildReferenceAsync (flow As Flow, flowRepository As IFlowCatalog) As Task(Of Flow)

Parameters

flow
Flow

the flow

flowRepository
IFlowCatalog

the flow repository

Returns

The flow with hydrated steps

Exceptions

if referenced flow cannot be found in the repository

Applies to