10 ms·
I lifted the run loop concept. Damn good one. I don't really spend any time pushing my work for use by others. But I agree it ought to be copied by others. Run
by collint 14y ago
I lifted the run loop concept. Damn good one. I don't really spend any time pushing my work for use by others. But I agree it ought to be copied by others.
Run loops make a great partner in crime with requestAnimationFrame.
https://github.com/collin/taxi/blob/master/src/taxi.coffee#L215 https://github.com/collin/taxi/blob/master/src/taxi.coffee#L...
- machty 14y agoFor what it's worth, the Ember run loop isn't that fires according to a step timer, but rather a loop that runs to completion in response to specific events (mouse click, keyboard press, response from ember-data). If you're talking about requestAnimationFrame there's a good chance you're talking about an entirely different kind of run loop, though I'd be curious to dig into this deeper.