Interface BatchOptions

Options passed to batchMessages.

Hierarchy

  • BatchOptions

Properties

Properties

limit?: number

The maximum number of buffered messages. If -1 then limit is ignored.

Default

50
timeout?: number

The timeout in milliseconds between the first and the last message in the batchMessages. If -1 then timeout is ignored.

Default

1000