Can you explain in detail why you would want these calls to be synchronous?
over 4 years ago
Sometimes I need to verify the data retrieved from the database before continuing to the next function and the only way I can do it now is to put everything including other KCSQuery into the completion block. I am just wondering if that's the right way to do it because nested completion blocks look very messy.
about 4 years ago
Kinvey queries work in asynchronous way. We should avoid using synchronous as it blocks main thread until the request is completed. You have done it in the correct way by using nested completion blocks.