Documentation
Table of Contents

Method HandleAsync

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

HandleAsync(NotFitContext, CancellationToken)

Returns the definition to request next, or null to end, in which case the run or the ensure throws SpecialistNotFitException. Every request counts toward MaxRequestsPerHour.

ValueTask<IntentDefinition?> HandleAsync(NotFitContext context, CancellationToken cancellationToken)

Parameters

context NotFitContext

The request, the offer and the verdict.

cancellationToken CancellationToken

Cancels the call.

Returns

ValueTask<IntentDefinition>