Closed GoogleCodeExporter closed 9 years ago
Hi,
This was a design decision made by the Google Data JavaScript Library which
analytics uses to surface it's data. The main reason for a continuation
function is that
JavaScript is single threaded, meaning the entire browser (or tab depending on
browser) will wait until the function returns. Because this is a client/server
request
which could take a couple of seconds, the user would be stuck with a non-
responsive browser until the function returned.
The continuation function allows the request to happen asyndhronsouly, and not
have the user wait for the function to return.
If you're looking to pass additional parameters, you could create an object
with the
parameter data, and use a method of the object as the continuation function.
This is
what was done on the query explorer, which you can look at for more details.
For more discussion, please use our public google group.
Thanks!
Original comment by nickski1...@gmail.com
on 30 Dec 2009 at 9:59
Removing an obsolete label that was used when these issues were in the
gdata-issues project.
Original comment by jrobbins@google.com
on 21 Jul 2011 at 10:04
Changing the issue type to match the organization desired in this project.
Original comment by jrobbins@google.com
on 21 Jul 2011 at 10:06
Original issue reported on code.google.com by
christop...@gmail.com
on 12 Oct 2009 at 7:18