Table of Contents

Method CommitAsync

Namespace
MailFathom.Application.Persistence
Assembly
MailFathom.Application.dll

CommitAsync(CancellationToken)

Attempts to commit all repository writes joined to this session.

Task<PersistenceCommitResult> CommitAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the commit or concurrency-conflict rollback.

Returns

Task<PersistenceCommitResult>

The commit outcome. The session is invalid after any returned outcome.