Advertisement

Using the HTML5 Web Workers API

  • Peter Lubbers
  • Brian Albers
  • Frank Salim

Abstract

HTML5 Web Workers provide background processing capabilities to web applications and typically run on separate threads so that JavaScript applications using HTML5 Web Workers can take advantage of multicore CPUs. Separating long-running tasks into HTML5 Web Workers also avoids the dreaded slowscript warnings, shown in Figure 8-1, that display when JavaScript loops continue for several seconds.

Keywords

Incoming Message Main Page Stop Worker Event Listener Window Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Peter Lubbers, Brian Albers, Frank Salim 2010

Authors and Affiliations

  • Peter Lubbers
  • Brian Albers
  • Frank Salim

There are no affiliations available

Personalised recommendations