acquire method

Future<void> acquire()

Implementation

Future<void> acquire() async {
  if (!_lock.isCompleted) await _lock.future;
}