Table of Contents

Method TakeRaise

Namespace
MailFathom.Application.Synchronization
Assembly
MailFathom.Application.dll

TakeRaise(MailAccountId)

Takes a raise standing against an account, so a run already under way answers it instead of the next one.

public bool TakeRaise(MailAccountId account)

Parameters

account MailAccountId

The account whose run is already going.

Returns

bool

true when a raise was standing and this call spent it.

Remarks

The wait between runs is not the only place a raise can be answered: a run reads the records at every one of its own stage boundaries, and a change authored while it was under way is carried there rather than waiting out the stages left. Spending the raise here is what keeps the wait after that run from bringing a run forward for work this one has already done, and answering false is what keeps a boundary with nothing authored against it from costing a query.