I'll dig out the testbed that i made for it as it was a long time ago now 
that i did it and i cant remeber if i wrapped it in a periodicalupdater or 
an AjaxPeriodicalUpdater...

Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Eric" <lefauv...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Friday, November 27, 2009 3:48 PM
Subject: [Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request


> >And next, because an array is much more flexible than variables. you
>
> I am sorry David, but I don't agree with you on this :o)
>
> An object variable is ways more flexible than an array. Especially if
> you add some methods to its prototype to fit your needs.
>
> And it is probably overkill in this case, where an incremented int
> would do it unless you actually need the result objects of every
> previous requests (which is not the same thing than "need to be
> executed after every previous requests" which is the need expressed by
> maalek).
>
> Alex: That's weird, but I was thinking the xhr object was stored in
> the closure of the Ajax.Request object, and garbage collected after
> the last callback was called (unless you store a reference to this
> object in another variable of course).
> It seems I am obviously wrong here.... I guess I'll have to have a
> look in the source again :o)
>
>>var request=new Ajax.Periodical...({});
>>
>>request=null;
>
> If you nullify the Periodical thingy, will it continue to be called?
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Prototype & script.aculo.us" group.
> To post to this group, send email to 
> prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to 
> prototype-scriptaculous+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
> 

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to