acquireLock
function acquireLock(lockPath, timeoutMs): Promise<FileLockHandle>;Defined in: src/launcher/lock.ts:161
Async version that polls until the lock is acquired or the timeout fires.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
lockPath | string |
timeoutMs | number |
Returns
Section titled “Returns”Promise<FileLockHandle>