locking library

A library that contains helpers for running hooks concurrently.

Functions

runUnderDirectoryLock<T>(Directory directory, Future<T> callback(), {Duration? timeout, Logger? logger}) Future<T>
Run callback with this Dart process having exclusive access to directory.