interface SendOptions

Options for sending a message with delay or scheduling.

Properties

optional
delayMs: number

Delay in milliseconds before the message becomes available

Explicit scheduled delivery time

optional
deadLetterQueue: string

Override the default dead letter queue for this message

optional
priority: number

Message priority (higher = more important, if supported)

optional
headers: Record<string, string>

Arbitrary key-value pairs to attach to the message

Usage

import { type SendOptions } from ".";