Method CountRequestsAsync
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
CountRequestsAsync(string, DateTimeOffset, CancellationToken)
The number of requests recorded for the intent at or after since.
public ValueTask<int> CountRequestsAsync(string intentName, DateTimeOffset since, CancellationToken cancellationToken)
Parameters
intentNamestringThe intent's name.
sinceDateTimeOffsetThe start of the period counted.
cancellationTokenCancellationTokenCancels the call.
Returns
- ValueTask<int>