Configuration options for the RateLimitedQueueClient.

Hierarchy

  • RateLimitedQueueConfig

Properties

autostart: boolean

Whether to start the queue immediately.

interval: number

The interval period in milliseconds.

perInterval: number

The number of items to process within the interval period.

spillMethod: "drop" | "spill"

The spill method to use when the queue is full.

  • 'drop': send individual items to callback
  • 'spill': send bulk to callback at once