Table of Contents

Struct DiscoveryRunId

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

Identifies one Discover run for as long as the deployment keeps it.

public readonly record struct DiscoveryRunId : IEquatable<DiscoveryRunId>
Implements
Inherited Members

Remarks

A run is addressed by this from the moment it is started: every event it publishes names it, and a client that lost its connection reattaches by it rather than by asking the question again. It is a version 7 UUID, so the events it leads the key of land together. A client holds it and presents it back, and what refuses a run somebody else started is the user check beside it rather than the identifier being hard to know — ADR 0036 holds why.

Properties

Value

Gets the non-empty UUID value.

Methods

Create(Guid)

Creates a run identifier from a non-empty UUID, which is how one arrives back off the wire.

New()

Creates an identifier for a run nothing has started yet.

ToString()

Returns the fully qualified type name of this instance.