UNPKG

pg-trx-outbox

Version:

Transactional outbox of Postgres for Node.js with little Event Sourcing

12 lines (11 loc) 328 B
import type { Transfer } from './transfer.ts'; import type { Options } from './types.ts'; type Transition = 'poll' | 'notify' | 'manual'; export declare class FSM { private options; private transfer; constructor(options: Options, transfer: Transfer); private fsm; send(event: Transition): void; } export {};