Method ReadDeploymentConsumedInputCharactersAsync
- Namespace
- MailFathom.Application.Emails.Embeddings.Limits
- Assembly
- MailFathom.Application.dll
ReadDeploymentConsumedInputCharactersAsync(DateTimeOffset, CancellationToken)
Reads what one period actually sent to a provider, whoever it was counted against.
Task<long> ReadDeploymentConsumedInputCharactersAsync(DateTimeOffset periodStart, CancellationToken cancellationToken)
Parameters
periodStartDateTimeOffsetThe period's start, as the budget places it.
cancellationTokenCancellationTokenCancels the read.
Returns
Remarks
This is what an administrative reading asks, and it is the deployment's own count rather than the sum of the per-user ones: a call embedding a mailbox two people are assigned is charged to both of them and sent once. A deployment administrator acts for no user, so the question they can be answered is this one, and a gate that had to invent a user to answer it would be attributing a figure to somebody who did not ask for it.