English
craft-hub / acquireProfileLease
Function: acquireProfileLease()
acquireProfileLease(
paths,mode?,recoveryTransaction?):Promise<ProfileLease>
Defined in: packages/craft-hub/src/profile-lease.ts:140
Acquire all roots in deterministic order. Locks survive renames and release automatically on process death.
Parameters
paths
string[]
mode?
"client" | "migration" = 'client'
recoveryTransaction?
string
Returns
Promise<ProfileLease>