areAvailable Method

Check to see if all of the requested resources could be acquired from iModelHub.

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

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
req ConcurrencyControl.Request the list of resource requests to be fulfilled. If not specified then all pending requests for locks and codes are queried.

Returns - true if all resources could be acquired or false if any could not be acquired.

Defined in

Last Updated: 13 October, 2019