ctm.sync

The method of JS Bridge functionality is intended to launch the fast or mixed synchronization without the CLM presentation interruption.

Query Format

ctm.sync(handler)

Handler

Use a handler function to describe the output format of the query results, e.g., to display the results of operations or method errors for debugging purposes.

ctm.sync(handler)
ctm.sync( function(response){
    console.log('Result', response);
})

The result:

{
    "success": true,
}
``