Method ReadSchedulesAsync
- Namespace
- MailFathom.Application.Rules.Evaluation
- Assembly
- MailFathom.Application.dll
ReadSchedulesAsync(CancellationToken)
Reads the schedules this source declares as they stand now.
public Task<IReadOnlyList<ScheduledJob>> ReadSchedulesAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<IReadOnlyList<ScheduledJob>>
The schedules, empty when this source declares none.
Remarks
The rules are already in memory and the accounts are read from the account records, once per reading of the schedules — and not at all where no rule declares a schedule, which is the ordinary deployment.