Table of Contents

Class DiscoveryRunStarted

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

The run has begun, which is the first thing a client is told and the reason it is told anything at all.

public sealed record DiscoveryRunStarted : DiscoveryRunEvent, IEquatable<DiscoveryRunEvent>, IEquatable<DiscoveryRunStarted>
Inheritance
DiscoveryRunStarted
Implements
Inherited Members

Remarks

It carries the revision of the presentation contract rather than anything about the question, because a client keys its renderers by that and needs it before the first block arrives. What the run decided is not in it: the intent and the composition are derived from the question after the run starts, and a start that waited for them would be a start that arrives no sooner than the derivation it was supposed to precede.

It also carries the envelope, which is what a run says about cost before it has spent anything. ADR 0022 refuses an estimate — a run is a conversation whose length is a model's decision, so anything predicted before it starts is a guess, and a guess people learn to ignore takes the true figure with it. What is stated instead is known without asking anything: what one question may spend on this deployment, and which endpoint will answer it.

Fields

Kind

The value the type discriminator carries on the wire.

Properties

Bounds

Gets what one question may spend on this deployment, which is what every count a run reports is read against.

EndpointAlias

Gets this deployment's own name for the endpoint answering the run, and empty on a deployment that answers no questions.

EventName

Gets the name this event is published under, which is the value the type discriminator carries.

PlanSchemaVersion

Gets the revision of the presentation contract this run writes its blocks against.

PublishedModel

Gets the model name the operator declared for publication, and empty where they declared none.