withExclusiveLock<T> method
Acquires an exclusive (writer/compactor) lock, runs action, and releases
the lock.
Implementation
@override
Future<T> withExclusiveLock<T>(Future<T> Function() action) =>
_runWithMode(.exclusive, .blockingExclusive, .exclusive, action);