Skip to main content

Queue

Creates and manages Cloudflare Queues for reliable message delivery between workers.

Props

string
Name of the queue.
QueueSettings
Settings for the queue.
string | Queue
Dead letter queue for failed messages.
boolean
default:"true"
Whether to delete the queue when the resource is removed from Alchemy.
boolean
default:"false"
Whether to adopt an existing queue with the same name if it exists.

Output

string
The unique ID of the queue.
string
The name of the queue.
string
Time when the queue was created.
string
Modified timestamp.
queue
Type identifier for the binding.

Examples

Basic Queue

Queue with Custom Settings

Queue with Dead Letter Queue

Queue Producer and Consumer