CreateMessageBatchOptions interface

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
}
Extends

Object

Properties

maxSizeInBytes

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

Property Details

maxSizeInBytes

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

maxSizeInBytes?: number

Property Value

number