HTML5 Mobile
Written by: Max Firtman
Featured Refcardz: Top Refcardz:
  1. Git
  2. Data Mining
  3. Spring Data
  4. Subversion
  5. HTML5 Mobile
  1. HTML5 Mobile
  2. HTML5
  3. Subversion
  4. Git
  5. Java

Link Details

Link 179701 thumbnail
User 207602 avatar

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".
  • 17
  • 0
  • 1523
  • 1

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.