Skip to content

basalt / webhooks/src / webhookOutboxPlugin

Function: webhookOutboxPlugin() ​

> webhookOutboxPlugin(options?): BasaltPlugin<unknown>

Defined in: webhooks/src/outbox.ts:147

Wires the durable webhook outbox: captures the configured domain events into a transactional outbox and relays them to webhook subscribers with retry. Requires webhooksPlugin and eventsPlugin. Resolve the OUTBOX token to enqueue or flush manually (e.g. from a queue worker instead of the timer).

Parameters ​

options? ​

WebhookOutboxOptions = {}

Returns ​

BasaltPlugin<unknown>

Released under the MIT License.