I found that "future" of python took care of a synchronous call too. Following is an example if HTTPRequest supported it.
futureObj=HTTPRequest.AsyncPost() value=futureObj.result() futureObj.result() waits until the result is available. It blocks the main loop, but it is ok in many cases. It is pretty simple and exactly what I wanted. Does Pyjs have any plan to support "future"? -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyjs-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.