acquireLocks

acquireLocks: (arg: BriefcaseDbArg, locks: LockMap) => Promise<void>

acquire one or more locks. Throws if unsuccessful. If any lock cannot be obtained, no locks are acquired

@throws ConflictingLocksError if one or more requested locks are held by other briefcases.

Defined in

Last Updated: 21 February, 2025