forceFlush method

  1. @override
void forceFlush()
override

Implementation

@override
void forceFlush() {
  if (_isShutdown) {
    return;
  }
  while (_spanBuffer.isNotEmpty) {
    _flushBatch();
  }
  _exporter.forceFlush();
}