Method RecallAsync
- Namespace
- IntentSharp.Specialist.Testing
- Assembly
- IntentSharp.Specialist.dll
RecallAsync(HeldSpecialist, CancellationToken)
Hands back the offer this instance gave for the held record's ticket, when CanRecall is on and that offer brought a provider; otherwise null. Records the record in Recalls either way.
public Task<SpecialistOffer?> RecallAsync(HeldSpecialist held, CancellationToken cancellationToken)
Parameters
heldHeldSpecialistThe held record.
cancellationTokenCancellationTokenCancels the call.
Returns
- Task<SpecialistOffer>