Method Signal
- Namespace
- MailFathom.Application.Mail.Delivery.Outbox
- Assembly
- MailFathom.Application.dll
Signal(MailAccountId)
Says that an account has something outstanding to deliver.
public bool Signal(MailAccountId accountId)
Parameters
accountIdMailAccountIdThe account whose outbox is worth a pass.
Returns
- bool
true when the account is queued for a pass or was already queued for one; false when the queue was full and the signal was refused.
Remarks
An account already waiting is reported as signalled, because it is: the pass it is waiting for reads the outbox rather than the signal, so it will find whatever was written between the two calls.