removeAll method

Future<void> removeAll()

Permanently deletes all stored data for this counter.

Implementation

Future<void> removeAll() async {
  await _lock.synchronized(() async {
    for (final span in ActivitySpan.values) {
      await _data[span]!.remove();
    }
  });
}