Class DiscoveryRetrievalProgressed
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
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 sealed record DiscoveryRetrievalProgressed : DiscoveryRunEvent, IEquatable<DiscoveryRunEvent>, IEquatable<DiscoveryRetrievalProgressed>
- Inheritance
-
DiscoveryRetrievalProgressed
- Implements
- Inherited Members
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.
Constructors
- 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.
Fields
- Kind
The value the type discriminator carries on the wire.
Properties
- EventName
Gets the name this event is published under, which is the value the type discriminator carries.
- Progress
The counts the retrieval reported.
- Spend
What the run has consumed so far, against the ceilings the start named.