Force periodically_call_remote to fire immediately
Posted
by Daniel Huckstep
on Stack Overflow
See other posts from Stack Overflow
or by Daniel Huckstep
Published on 2009-10-19T19:33:10Z
Indexed on
2010/04/22
3:13 UTC
Read the original article
Hit count: 233
I have a
periodically_call_remote
that I want to fire right away (as if the code was present without the setTimeout) as well as call periodically. Is there a nice way to do this use PCR, or do I have to roll my own?
I'm using jQuery/jRails if it helps.
© Stack Overflow or respective owner