acquire method
Implementation
Future<void> acquire() async {
Completer? completer = _completer;
if (completer != null) {
await completer.future;
}
_completer = Completer();
}
Future<void> acquire() async {
Completer? completer = _completer;
if (completer != null) {
await completer.future;
}
_completer = Completer();
}