How to make an asynchronous call embedded within a synchronous method so that the method can wait for a response in asynchronous call and proceed only when it receives a response. I am looking for an alternate to avoid using while loops.
As the asynchronous request/response are scheduled through run loops so how can we solve this problem?
Thanks
Arnieterm
As the asynchronous request/response are scheduled through run loops so how can we solve this problem?
Thanks
Arnieterm