Table of Contents

Field MaximumEvents

Namespace
MailFathom.Application.Discovery.Streaming
Assembly
MailFathom.Application.dll

The greatest number of events one run publishes.

public const int MaximumEvents = 228

Returns

int
The greatest number of events one run publishes.

Remarks

Derived rather than chosen: a run publishes one start, at most one progress report per lookup a plan may hold, at most one citation per source a run may declare, at most one block per block a plan may hold, and one ending. So a run that reaches this bound has published everything the contract lets it publish.

Reaching it stops the run composing anything further and ends it stating BlocksOmitted, rather than dropping an event or growing past the bound. The ending itself is always published, which is what the reservation below is for: a client is never left waiting on a run that has already stopped.