Method RemoveOutcomesAsync
RemoveOutcomesAsync(DateTime, CancellationToken)
Removes the outcomes of the finished uploads of all users that were stored before the specified time (see OutcomeUtc), with their records.
Declaration
ValueTask RemoveOutcomesAsync(DateTime storedBeforeUtc, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | storedBeforeUtc | The time in UTC before which the outcomes to remove were stored. |
| CancellationToken | cancellationToken | A token that cancels the operation. |
Returns
| Type | Description |
|---|---|
| ValueTask |
Remarks
The service calls it in each of its cleanup passes, every few minutes, with the current time less OutcomeRetention.