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.

ParameterType
lockPathstring
timeoutMsnumber

Promise<FileLockHandle>