The path of the file to lock.
The function to execute while the file is locked.
Executes the callback with locking the given file before, and releasing it after the callback is executed.
Generally, the callback/operation should target the file locked.
The path of the file to lock.
The lock options/timeout.
The function to execute while the file is locked.
Generated using TypeDoc
Executes the callback with locking the given file before, and releasing it after the callback is executed.
Generally, the callback/operation should target the file locked.