acquire method

Future acquire()

Acquire a lock

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

Implementation

Future acquire() => _rwMutex.acquireWrite();