Executor.OnMessageDeliveryFinishedAsync Method

Definition

Invoked once per superstep after all messages have been delivered to the Executor.

protected internal virtual System.Threading.Tasks.ValueTask OnMessageDeliveryFinishedAsync(Microsoft.Agents.AI.Workflows.IWorkflowContext context, System.Threading.CancellationToken cancellationToken = default);
abstract member OnMessageDeliveryFinishedAsync : Microsoft.Agents.AI.Workflows.IWorkflowContext * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
override this.OnMessageDeliveryFinishedAsync : Microsoft.Agents.AI.Workflows.IWorkflowContext * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Protected Friend Overridable Function OnMessageDeliveryFinishedAsync (context As IWorkflowContext, Optional cancellationToken As CancellationToken = Nothing) As ValueTask

Parameters

context
IWorkflowContext

The workflow context.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

A ValueTask representing the asynchronous operation.

Applies to