MCPcopy
hub / github.com/methodofaction/Method-Draw / process

Function process

test/qunit/qunit.js:829–843  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

827}
828
829function process() {
830 var start = (new Date()).getTime();
831
832 while ( config.queue.length && !config.blocking ) {
833 if ( config.updateRate <= 0 || (((new Date()).getTime() - start) < config.updateRate) ) {
834 config.queue.shift()();
835 } else {
836 window.setTimeout( process, 13 );
837 break;
838 }
839 }
840 if (!config.blocking && !config.queue.length) {
841 done();
842 }
843}
844
845function saveGlobal() {
846 config.pollution = [];

Callers 2

qunit.jsFile · 0.85
synchronizeFunction · 0.85

Calls 1

doneFunction · 0.85

Tested by

no test coverage detected