The community forums are in BETA and closed to the public.

Client API Design

Hi There, As i just started writing client side code for my Android app, I am wondering if there is a way to make Sync rather than Async calls using pubnub client library. Right now it looks like the way API has been designed , its not possible to make Sync call, is there?. This call back mechanism is causing "CallBack Hell" in my code base and make code hard to maintain and readable. Its basically forcing me to write my client code in certain manner only. Could you tell me why should not pubnub client lib API interface let the caller decide whether to make Sync / Async call?

Thanks Gaurav


Comments to this discussion are now closed!