API Reference > imodeljs-backend > iModels > ConcurrencyControl > syncCache syncCache Method Beta You must call this if you use classes other than ConcurrencyControl to manage locks and codes. For example, if you call IModelHost.imodelClient to call IModelClient functions directly to acquire or release locks or to reserve or relinquish codes, you must follow up by calling this function to allow ConcurrencyControl to synchronize its local resources cache with the actual state of locks and codes on the server. syncCache(requestContext: AuthorizedClientRequestContext): Promise<void> Parameter Type Description requestContext AuthorizedClientRequestContext Returns - Promise<void> Defined in core/backend/src/ConcurrencyControl.ts Line 130 Last Updated: 12 June, 2024