Executor.OnMessageDeliveryFinishedAsync 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.
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.