By jimbojw
via trephine.org
Published: May 04 2009 / 17:58
Sometimes, when performing a long operation in JavaScript, it's beneficial to break up the job, inserting timeouts between tasks. Doing so gives the browser a chance to execute other pending timeout-bound operations and repaint the page, applying any DOM changes. This article discusses one method for implementing these breaks called "task chaining".
Tweet
SaveShareSend
Tags: how-to, javascript, methodology, research
Add your comment
Voters For This Link (17)
-
jimbojw -
walking_eye -
mswatcher -
jmjimene -
matt -
bloid -
geetee -
Iddouchayt -
ckeene -
fabiocaseri -
sunwukung -
tsanand129 -
paullaurence01 -
antych -
dubness -
mostlyharmless -
Xavi-