@arturwojnar/hermes-postgresql
Version:
Production-Ready TypeScript Outbox Pattern for PostgreSQL
4 lines (3 loc) • 420 B
TypeScript
import { MessageToPublish, PublishingQueue, PublishingQueueOptions } from '../publishingQueue.js';
declare const createNonBlockingPublishingQueue: <InsertResult>(publish: (messageToPublish: MessageToPublish<InsertResult>) => Promise<void>, options?: PublishingQueueOptions<InsertResult>) => PublishingQueue<"NonBlockingPublishingQueue", InsertResult>;
export { createNonBlockingPublishingQueue, type MessageToPublish };