BatchSpanProcessor constructor

BatchSpanProcessor(
  1. SpanExporter _exporter, {
  2. int? maxExportBatchSize,
  3. int? scheduledDelayMillis,
})

Implementation

BatchSpanProcessor(this._exporter,
    {int? maxExportBatchSize, int? scheduledDelayMillis}) {
  if (maxExportBatchSize != null) {
    _maxExportBatchSize = maxExportBatchSize;
  }
  if (scheduledDelayMillis != null) {
    _scheduledDelayMillis = scheduledDelayMillis;
  }
}