using MediatR;

namespace Femto.Common.Infrastructure.Outbox;

public interface IOutboxMessageHandler
{
    Task HandleMessage<TNotification>(TNotification notification, CancellationToken cancellationToken = default);
}