Non Async Cloud Code API Calls

Hi Team,

We are looking for some guidelines for how to stop a API call in Backendless Cloud Code to not be ASYNC but sequential. Does doing a print on the return of the API call ensure Blocking (non Async calls) or is there a better way.

Also we are noticing that the Prints in the first lines here are getting printed after the API Call Prints

image

Hi @Invited4

The code in Codeless is executed sequentially by default. Blocking will occur even without using the ‘print’ block.
Regarding the second part of your question, please provide a screenshot with logs for this service where you believe the order of calls is not as expected. If this is indeed the case, please create a test service where we can make calls from our side and reproduce the issue.

Regards,
Viktor