(path, executeTask)
| 4 | |
| 5 | // Obtains a lock on the path, and maintains it until the task finishes |
| 6 | async function withLock (path, executeTask) { |
| 7 | return await lock.acquire(path, executeTask) |
| 8 | } |
| 9 | |
| 10 | export default withLock |
no outgoing calls
no test coverage detected