Package version:

Interface CreateMessageBatchOptions

Options to configure the createBatch method on the Sender.

  • maxSizeInBytes: The upper limit for the size of batch.

Example usage:

{
maxSizeInBytes: 1024 * 1024 // 1 MB
}
interface CreateMessageBatchOptions {
    abortSignal: OperationOptions;
    maxSizeInBytes?: number;
    tracingOptions: OperationOptions;
}

Hierarchy (view full)

Properties

abortSignal: OperationOptions
maxSizeInBytes?: number

The upper limit for the size of batch. The tryAdd function will return false after this limit is reached.

tracingOptions: OperationOptions

Generated using TypeDoc