OutboxDrainerOptions
@totemsdk/edge / OutboxDrainerOptions
Interface: OutboxDrainerOptions
Properties
backoffBaseMs?
optionalbackoffBaseMs?:number
Base backoff ms between attempts (default 1_000).
backoffMaxMs?
optionalbackoffMaxMs?:number
Max backoff ms (default 30_000).
maxAttempts?
optionalmaxAttempts?:number
Max delivery attempts per message (default 5). Beyond this the entry is held.
onEvent?
optionalonEvent?: (event) =>void
Optional event hook for observability.
Parameters
event
attempts
number
messageId
string
type
"negotiation.message_sent" | "negotiation.delivery_retried"
Returns
void
outbox
outbox:
OutboxStore
The durable outbox store.
transport
transport:
NegotiationTransport
The transport used to deliver outbox messages.