toapole maktonk
2007-Feb-23 09:37 UTC
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe Porteneuve
2007-Feb-23 11:09 UTC
Re: Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hey, toapole maktonk a écrit :> Does Ajax.PeriodicalUpdater have a shield against multiple parallel > executions?Yes. Actually it''s the ONE thing that makes it useful when compared to native setInterval stuff :-) http://prototypejs.org/api/periodicalExecuter We''re always happy to help, but before asking basic questions, you might want to check out the official API doc site. In this specific case, your question is addressed right from the second paragraph :-) -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
toapole maktonk
2007-Feb-23 12:20 UTC
Re: Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
I already use periodicalExecuter, but there is not any notation that Ajax.PeriodicalUpdater(http://prototypejs.org/api/ajax/ periodicalUpdater) also avoid multiple parallel executions. On Feb 23, 2:09 pm, Christophe Porteneuve <t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org> wrote:> Hey, > > toapole maktonk a écrit : > > > Does Ajax.PeriodicalUpdater have a shield against multiple parallel > > executions? > > Yes. Actually it''s the ONE thing that makes it useful when compared to > native setInterval stuff :-) > > http://prototypejs.org/api/periodicalExecuter > > We''re always happy to help, but before asking basic questions, you might > want to check out the official API doc site. In this specific case, > your question is addressed right from the second paragraph :-) > > -- > Christophe Porteneuve aka TDD > t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe Porteneuve
2007-Feb-23 13:08 UTC
Re: Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hi there, toapole maktonk a écrit :> I already use periodicalExecuter, but there is not any notation that > Ajax.PeriodicalUpdater(http://prototypejs.org/api/ajax/ > periodicalUpdater) also avoid multiple parallel executions.Sorry! My mistake, I had read "periodicalExecuter", not "Ajax.PeriodicalUpdater." The answer, then, is no: there''s no shielding against parallel executions. Putting it together is simple enough though. At "worst," you can combine a PeriodicalExecuter with a regular Ajax.Updater... -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
toapole maktonk
2007-Feb-23 13:26 UTC
Re: Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Thanks! actually, i did it in that way: periodicalExecuter + Ajax.Request On Feb 23, 4:08 pm, Christophe Porteneuve <t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org> wrote:> Hi there, > > toapole maktonk a écrit : > > > I already use periodicalExecuter, but there is not any notation that > > Ajax.PeriodicalUpdater(http://prototypejs.org/api/ajax/ > > periodicalUpdater) also avoid multiple parallel executions. > > Sorry! My mistake, I had read "periodicalExecuter", not > "Ajax.PeriodicalUpdater." > > The answer, then, is no: there''s no shielding against parallel > executions. Putting it together is simple enough though. At "worst," > you can combine a PeriodicalExecuter with a regular Ajax.Updater... > > -- > Christophe Porteneuve aka TDD > t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---