Table of Contents

Method OnTokenAsync

Namespace
LMKit.Agents.Orchestration.Streaming
Assembly
LM-Kit.NET.dll

OnTokenAsync(OrchestrationStreamToken, CancellationToken)

Called when a new token is received from any agent in the orchestration.

Task OnTokenAsync(OrchestrationStreamToken token, CancellationToken cancellationToken = default)

Parameters

token OrchestrationStreamToken

The streaming token with agent context.

cancellationToken CancellationToken

Cancellation token.

Returns

Task

A task representing the async operation.

Share