3 ms·
The polling approach is already used in the YUI2' onAvailable method. http://yui.yahooapis.com/2.9.0/build/event/event.js http://yui.yahooapis.com/2.9.0/build/e
by tszming 15y ago
The polling approach is already used in the YUI2' onAvailable method.
http://yui.yahooapis.com/2.9.0/build/event/event.js http://yui.yahooapis.com/2.9.0/build/event/event.js
But your code should be faster -because you are polling at the 5ms interval!
- adamdecaf 15y agoWhich may not even be every 5ms...