Function: acquireFileLock()
acquireFileLock(
key,options?):Promise<FileLockLease>
Acquire a cross-process lock and return an explicit lease.
Prefer withFileLock for ordinary JavaScript callers. This lower-level shape exists for storage adapters and cross-language bridges that cannot conveniently pass an async callback through their FFI boundary.
Parameters
Section titled “Parameters”unknown
options?
Section titled “options?”FileLockOptions = {}
Returns
Section titled “Returns”Promise<FileLockLease>