areLocksAvailable Method

Check to see if this briefcase could acquire (or already has acquired) the specified locks at that specified levels.

areLocksAvailable(requestContext: AuthorizedClientRequestContext, req?: ConcurrencyControl.Request): Promise<boolean>

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
req ConcurrencyControl.Request the lock requests to check. If not specified then all pending requests for locks are queried.

Returns - Promise<boolean>

true if all locks are available or false if any is not.

Defined in

Last Updated: 13 June, 2024