Table of Contents

Interface IOutboxDispatcher<TPayload>

Namespace
PatternKit.Messaging.Reliability
Assembly
PatternKit.Core.dll

Dispatches outbox records to an application-owned transport, queue, or handler.

public interface IOutboxDispatcher<TPayload>

Type Parameters

TPayload

Methods

DispatchAsync(OutboxMessage<TPayload>, CancellationToken)

Dispatches a single outbox record.

ValueTask DispatchAsync(OutboxMessage<TPayload> message, CancellationToken cancellationToken = default)

Parameters

message OutboxMessage<TPayload>
cancellationToken CancellationToken

Returns

ValueTask