UNPKG

pg-transactional-outbox

Version:

A PostgreSQL based transactional outbox and inbox pattern implementation to support exactly once message processing (with at least once message delivery).

13 lines (10 loc) 369 B
import { GeneralMessageHandler } from './general-message-handler'; /** * Message handler for a specific aggregate type and message type. */ export interface TransactionalMessageHandler extends GeneralMessageHandler { /** The aggregate root type */ aggregateType: string; /** The name of the message created for the aggregate type. */ messageType: string; }