Interface INotFitHandler
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
Decides what happens after an offer does not fit: end, or request again with another definition. The runtime has already reported the verdict to the service when it is called. Nothing waits for or notifies a person.
public interface INotFitHandler
- Extension Methods
Methods
- 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.