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 and the accounts are both already in memory, so this source waits for nothing and answers with a completed task.