shutdown method

  1. @override
Future<bool> shutdown()
override

Shutdown the metric reader.

This should clean up any resources and perform final exports.

Implementation

@override
Future<bool> shutdown() async {
  if (_isShutdown) return true;
  _isShutdown = true;
  return await exporter.shutdown();
}