FeedbackLoopHandler Delegate

Definition

Function for feedback loop activities

public delegate System.Threading.Tasks.Task FeedbackLoopHandler(ITurnContext turnContext, ITurnState turnState, FeedbackData feedbackData, CancellationToken cancellationToken);
type FeedbackLoopHandler = delegate of ITurnContext * ITurnState * FeedbackData * CancellationToken -> Task
Public Delegate Function FeedbackLoopHandler(turnContext As ITurnContext, turnState As ITurnState, feedbackData As FeedbackData, cancellationToken As CancellationToken) As Task 

Parameters

turnContext
ITurnContext

A strongly-typed context object for this turn.

turnState
ITurnState

The turn state object that stores arbitrary data for this turn.

feedbackData
FeedbackData

The feedback loop data.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Applies to