I am doing batch process in my application. So i tried
Blocking call to wait for SyncEngine lock
SyncEngine.unlock_sync_mutex ( Release the acquired SyncEngine lock )
When i use this code i am getting undefined method lock_sync_mutex for SyncEngine module.
Anyone have any idea about this error?
Hi, these two functions are actually incorrectly documented as they are not exposed in ruby (only used internally in the RhoConnect client's C++ infrastructure). As a workaround you can use `set_pollinterval(0)` followed by `stop_sync` to ensure any background sync process is stopped before performing a batch operation.