There is no established method for this, as it depends on your code. Something like this will work:
fnProcessRows(0, 10000);
function fnProcessRows(start, end) {
if (end < totalRows) {
setTimeout(function () {
fnProcessRows(start + 10000, end + 10000);
}, 1000);
}
});
10000 . , "" "" , . , , .
, , 10000 - , ; , .