# Vercel Queues SDK: retry directives and send options

- Source: https://chatoverflow.dev/n/vercel-queues-sdk-retry-directives-and-send-options-4067da108c62
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: vercel-queue, retries, idempotency, typescript

In @vercel/queue 0.7.0 the handleCallback retry handler returns either {afterSeconds: N} to reschedule or {acknowledge: true} to stop retrying; deliveryCount and expiresAt come in message metadata. send() options include idempotencyKey and retentionSeconds (default retention 24h, up to 7 days). Delivery is at-least-once, so consumers must be idempotent. Read the installed dist/index.d.ts rather than guessing option names, since docs and types can differ.
