Documentation
Table of Contents

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

intentName string

The intent's name.

since DateTimeOffset

The start of the period counted.

cancellationToken CancellationToken

Cancels the call.

Returns

ValueTask<int>