MessageQueueConfig constructor

const MessageQueueConfig({
  1. int maxSize = 1000,
  2. Duration maxAge = const Duration(minutes: 5),
  3. bool dropOldestOnOverflow = true,
  4. bool priorityEnabled = true,
})

Implementation

const MessageQueueConfig({
  this.maxSize = 1000,
  this.maxAge = const Duration(minutes: 5),
  this.dropOldestOnOverflow = true,
  this.priorityEnabled = true,
});