Constructor DiscoveryRetrievalProgressed
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
DiscoveryRetrievalProgressed(DiscoveryRetrievalProgress, MailAnsweringRunSpend)
One of the plan's lookups has settled, and this is how far the retrieval has got and what the run has spent reaching it.
public DiscoveryRetrievalProgressed(DiscoveryRetrievalProgress Progress, MailAnsweringRunSpend Spend)
Parameters
ProgressDiscoveryRetrievalProgressThe counts the retrieval reported.
SpendMailAnsweringRunSpendWhat the run has consumed so far, against the ceilings the start named.
Remarks
Published once per lookup rather than on a timer, so the number of these is bounded by the plan and a run that is waiting on a slow provider publishes nothing rather than repeating itself.
The spend rides here rather than on a channel of its own, which is what ADR 0022 settles: a second stream carrying cost would be a second thing to keep in step with the first, and this is the event a run already publishes while it is working. Both halves are counts and neither carries mail.