function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajesh T 19Rajesh T 19 

Can we use callback from another callback response ? if yes, up-to how many level we can use it?

In an existing scenario, helper.js calling the server side - Apex class Method 1 at first and based on the response calling again the Call back- Method 2(Apex class). But according to business situationwe need to add the callback -  Method 3(Apex class) based on the response from callback(Method 1) and after that based on Method 3 needs to call the callback - Method 2(Apex class). Is it possible to do it?
VinayVinay (Salesforce Developers) 
Hi Rajesh,

Remote Objects callback functions can be written to receive up to three arguments.

Check below reference
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_remote_objects_callback_functions.htm

Please mark as Best Answer if above information was helpful so that it can help others in the future.

Thanks,