Method SaveAsync
- Namespace
- MailFathom.Application.Jobs.Scheduling
- Assembly
- MailFathom.Application.dll
SaveAsync(JobScheduleState, CancellationToken)
Writes what a schedule has now done, inserting the row when the schedule had none.
Task SaveAsync(JobScheduleState state, CancellationToken cancellationToken)
Parameters
stateJobScheduleStateThe schedule as it stands after the pass decided about it.
cancellationTokenCancellationTokenCancels the write.
Returns
- Task
A task that completes once the state is durable.
Exceptions
- ArgumentNullException
Thrown when
stateis null.