acquire method

Future<void> acquire()

Returns a future that will be completed when the lock has been acquired.

Implementation

Future<void> acquire() => _mutex.acquire();