Interface IOutbox
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Stages messages for durable delivery after the current write-side operation completes.
public interface IOutboxProperties
Section titled “Properties”OutboxId
Section titled “ OutboxId”Gets the stable outbox identifier owned by this implementation.
string OutboxId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”EnqueueAsync(OutboxMessage, CancellationToken)
Section titled “ EnqueueAsync(OutboxMessage, CancellationToken)”Enqueues one message for later delivery.
ValueTask EnqueueAsync(OutboxMessage message, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”message OutboxMessage
The message to stage for later delivery.
cancellationToken CancellationToken
The token that cancels the operation.
Returns
Section titled “Returns”A task that completes when the message has been persisted to the outbox.