Method AbandonRequestAsync
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
AbandonRequestAsync(string, string, CancellationToken)
Called by the runtime when a request it began with BeginRequestAsync(string, string, int, DateTimeOffset, CancellationToken) could not be sent, so another caller may send it. The request's time stays recorded. The default does nothing.
public ValueTask AbandonRequestAsync(string intentName, string requestHash, CancellationToken cancellationToken)
Parameters
intentNamestringThe intent's name.
requestHashstringThe request hash.
cancellationTokenCancellationTokenCancels the call.
Returns
- ValueTask