maxQueueSize property

int maxQueueSize

Returns the max number of events Sentry will send when calling capture methods in a tight loop. Default is 30.

Implementation

int get maxQueueSize => _maxQueueSize;
void maxQueueSize=(int count)

Sets how many unawaited events can be sent by Sentry. (e.g. capturing events in a tight loop) at once. If you need to send more, please use the await keyword.

Implementation

set maxQueueSize(int count) {
  assert(count > 0);
  _maxQueueSize = count;
}