WorkflowBuilder.AddFanInBarrierEdge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding) |
Adds a fan-in "barrier" edge to the workflow, connecting multiple source executors to a single target executor. Messages will be held until every source executor has generated at least one message, then they will be streamed to the target executor in the following step. |
| AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding, String) |
Adds a fan-in "barrier" edge to the workflow, connecting multiple source executors to a single target executor. Messages will be held until every source executor has generated at least one message, then they will be streamed to the target executor in the following step. |
| AddFanInBarrierEdge(ExecutorBinding, IEnumerable<ExecutorBinding>) |
Obsolete.
Adds a fan-in "barrier" edge to the workflow, connecting multiple source executors to a single target executor. Messages will be held until every source executor has generated at least one message, then they will be streamed to the target executor in the following step. |
AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding)
Adds a fan-in "barrier" edge to the workflow, connecting multiple source executors to a single target executor. Messages will be held until every source executor has generated at least one message, then they will be streamed to the target executor in the following step.
public Microsoft.Agents.AI.Workflows.WorkflowBuilder AddFanInBarrierEdge(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.Workflows.ExecutorBinding> sources, Microsoft.Agents.AI.Workflows.ExecutorBinding target);
member this.AddFanInBarrierEdge : seq<Microsoft.Agents.AI.Workflows.ExecutorBinding> * Microsoft.Agents.AI.Workflows.ExecutorBinding -> Microsoft.Agents.AI.Workflows.WorkflowBuilder
Public Function AddFanInBarrierEdge (sources As IEnumerable(Of ExecutorBinding), target As ExecutorBinding) As WorkflowBuilder
Parameters
- sources
- IEnumerable<ExecutorBinding>
One or more source executors that provide input to the target. Cannot be null or empty.
- target
- ExecutorBinding
The target executor that receives input from the specified source executors. Cannot be null.
Returns
The current instance of WorkflowBuilder.
Applies to
AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding, String)
Adds a fan-in "barrier" edge to the workflow, connecting multiple source executors to a single target executor. Messages will be held until every source executor has generated at least one message, then they will be streamed to the target executor in the following step.
public Microsoft.Agents.AI.Workflows.WorkflowBuilder AddFanInBarrierEdge(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.Workflows.ExecutorBinding> sources, Microsoft.Agents.AI.Workflows.ExecutorBinding target, string? label = default);
member this.AddFanInBarrierEdge : seq<Microsoft.Agents.AI.Workflows.ExecutorBinding> * Microsoft.Agents.AI.Workflows.ExecutorBinding * string -> Microsoft.Agents.AI.Workflows.WorkflowBuilder
Public Function AddFanInBarrierEdge (sources As IEnumerable(Of ExecutorBinding), target As ExecutorBinding, Optional label As String = Nothing) As WorkflowBuilder
Parameters
- sources
- IEnumerable<ExecutorBinding>
One or more source executors that provide input to the target. Cannot be null or empty.
- target
- ExecutorBinding
The target executor that receives input from the specified source executors. Cannot be null.
- label
- String
An optional label for the edge. Will be used in visualizations.
Returns
The current instance of WorkflowBuilder.
Applies to
AddFanInBarrierEdge(ExecutorBinding, IEnumerable<ExecutorBinding>)
Caution
Use AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding) instead.
Adds a fan-in "barrier" edge to the workflow, connecting multiple source executors to a single target executor. Messages will be held until every source executor has generated at least one message, then they will be streamed to the target executor in the following step.
[System.Obsolete("Use AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding) instead.")]
public Microsoft.Agents.AI.Workflows.WorkflowBuilder AddFanInBarrierEdge(Microsoft.Agents.AI.Workflows.ExecutorBinding target, System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.Workflows.ExecutorBinding> sources);
[<System.Obsolete("Use AddFanInBarrierEdge(IEnumerable<ExecutorBinding>, ExecutorBinding) instead.")>]
member this.AddFanInBarrierEdge : Microsoft.Agents.AI.Workflows.ExecutorBinding * seq<Microsoft.Agents.AI.Workflows.ExecutorBinding> -> Microsoft.Agents.AI.Workflows.WorkflowBuilder
Public Function AddFanInBarrierEdge (target As ExecutorBinding, sources As IEnumerable(Of ExecutorBinding)) As WorkflowBuilder
Parameters
- target
- ExecutorBinding
The target executor that receives input from the specified source executors. Cannot be null.
- sources
- IEnumerable<ExecutorBinding>
One or more source executors that provide input to the target. Cannot be null or empty.
Returns
The current instance of WorkflowBuilder.
- Attributes