Property NextPassDueAt
- Namespace
- MailFathom.Application.Emails.Embeddings.Backfill
- Assembly
- MailFathom.Application.dll
NextPassDueAt
Gets when the next pass is due, or null while no pass has been scheduled.
public DateTimeOffset? NextPassDueAt { get; }
Property Value
Remarks
An instant already past is a pass that is due now — either running, or about to be taken by a worker that has finished waiting. The absence has two causes and neither is a fault: a process that has only just started shows it until its first pass schedules the next one, and a deployment whose walk is turned off shows it for good, because NoPassWillRun() is what its worker reports instead of ever waiting.
A nullable DateTimeOffset is wider than one atomic write, so the read holds the gate and every assignment below is made while already holding it. The setter does not take the gate itself, because both writers do so for the rest of what they change as well and a re-entrant acquisition would say the two facts were separable.