Table of Contents

Method RunAsync

Namespace
MailFathom.Application.Emails.Embeddings.Backfill
Assembly
MailFathom.Application.dll

RunAsync(CancellationToken)

Runs one bounded pass of the backfill.

public Task<StoredEmailEmbeddingBackfillResult> RunAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the run between messages, between batches, and inside a message's turn.

Returns

Task<StoredEmailEmbeddingBackfillResult>

What this run produced, and why it ended.

Exceptions

PersistenceConcurrencyConflictException

Thrown when a competing writer wins a race that the bounded retries could not resolve. Passages and vectors already committed stay durable, and the next run resumes from the committed position.

OperationCanceledException

Thrown when the caller cancels. Committed passages, vectors, and positions stay durable.