Summary

So, finally, we've had the chance to take a look at web workers and service workers and the great parts of the multi-threading environment provided by JavaScript! While service workers are the future of progressive web apps, web workers will be there to back them for any high-load task.

Combine these techs in just the right way, and everything seems possible! In the next chapter, we're going to take a look at very interesting concepts introduced in JavaScript for the first time: shared memory and atomics.

Get Learn ECMAScript - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.