interface IQueueMessageBatch
Since 0.2.0

A batch of messages delivered to a Queues consumer.

A real Cloudflare MessageBatch satisfies this structurally.

Properties

readonly
queue: string

The name of the queue this batch came from.

readonly
messages: readonly IQueueMessage[]

The messages in the batch.

Usage

import { type IQueueMessageBatch } from "cloudflare-plugin/src/index.ts";