Interface: EventDispatcher
Defined in: server/bookings/deps.ts:96
Drains undispatched *_due outbox rows (booking_events) after commit, calling the
PaymentPort/NotificationPort and stamping dispatched_at. At-least-once — drive
from a consumer worker and make adapters idempotent using the supplied context.
Methods
drain()
drain(bookingId?: string): Promise<void>;Defined in: server/bookings/deps.ts:97
Parameters
| Parameter | Type |
|---|---|
bookingId? | string |
Returns
Promise<void>