How can I rate limit how fast a javascript function allows itself to be called?
Posted
by Hendo
on Stack Overflow
See other posts from Stack Overflow
or by Hendo
Published on 2010-05-27T19:43:34Z
Indexed on
2010/05/27
19:51 UTC
Read the original article
Hit count: 141
JavaScript
I have a JavaScript function which actually ends up making a server-side call. I want to limit the rate at which this function can be called.
What is an easy way I can limit how fast my javascript function will get called by say 200-500 milliseconds or so? Should I use a javascript timer control?
© Stack Overflow or respective owner