doinbackground not waiting for oncallback

Discussion created by townofsnowflake on Jun 15, 2013
I am using the asyncclass to submit edits.  The doinbackground() method calls an applyedits() method which calls an addattachment() method. both the addattachment() and applyedits() methods have oncallbacks. the doinbackground() method doesn't seem to wait for the oncallbacks.

how can i make doinbackground() wait for the results from the other two methods?