@pumpkin-plugins/static-hermes-runtime API / hermes/build / HermesBuildLockOptions
Interface: HermesBuildLockOptions
Defined in: hermes/build.ts:57
Optional mutable resources, dependencies, and timing controls for Hermes preparation locks.
Properties
filesystem?
optionalfilesystem?:HermesFileSystem
Defined in: hermes/build.ts:59
Filesystem used to create, read, and remove the lock file.
isProcessAlive?
optionalisProcessAlive?: (pid) =>boolean
Defined in: hermes/build.ts:61
Process-liveness check used to identify stale owners.
Parameters
pid
number
Returns
boolean
now?
optionalnow?: () =>number
Defined in: hermes/build.ts:63
Clock used to enforce the timeout.
Returns
number
resources?
optionalresources?: readonlystring[]
Defined in: hermes/build.ts:65
Additional mutable Hermes directories that must share this lock with the cache root.
timeoutMs?
optionaltimeoutMs?:number
Defined in: hermes/build.ts:67
Maximum wait for another live build to release the lock.
wait?
optionalwait?: (delayMs) =>Promise<void>
Defined in: hermes/build.ts:69
Delay implementation used between acquisition attempts.
Parameters
delayMs
number
Returns
Promise<void>