ensureOptimized method

  1. @visibleForTesting
Future<void> ensureOptimized()

Waits for locking operations to release the lock.

Implementation

@visibleForTesting
Future<void> ensureOptimized() => _mutex.protect(() async {});