Package version
Options to configure the createBatch method on the Sender.
createBatch
Sender
maxSizeInBytes
Example usage:
{ maxSizeInBytes: 1024 * 1024 // 1 MB }
The upper limit for the size of batch. The tryAdd function will return false after this limit is reached.
tryAdd
false
Generated using TypeDoc
Options to configure the
createBatch
method on theSender
.maxSizeInBytes
: The upper limit for the size of batch.Example usage:
{ maxSizeInBytes: 1024 * 1024 // 1 MB }