Skip to content

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.

Parameter Type
lockPath string
timeoutMs number

Promise<FileLockHandle>