Skip to Content
JavaScript from Beginner to Professional
book

JavaScript from Beginner to Professional

by Rob Percival, Laurence Svekis, Maaike van Putten, Codestars By Rob Percival
December 2021
Beginner
546 pages
10h 24m
English
Packt Publishing
Content preview from JavaScript from Beginner to Professional

13

Concurrency

It's time for a more advanced topic. You're ready! We are going to deal with the topic of asynchronous code and some options for multitasking with code. This concept is called concurrency. Don't worry if you find this chapter a bit of a struggle; this is programming in JavaScript at a high level. These are the topics we'll be dealing with:

  • Concurrency
  • Callbacks
  • Promises
  • async/await
  • Event loop

Yes, this is tough, but understanding how to leverage concurrency can really enhance the performance of your program by speeding up the process, which is more than enough reason to dive into this advanced topic!

Note: exercise, project, and self-check quiz answers can be found in the Appendix.

Introducing concurrency

Concurrency is whenever ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern JavaScript from The Beginning [Second Edition] - Second Edition

Modern JavaScript from The Beginning [Second Edition] - Second Edition

Brad Traversy
The Complete Node.js Developer Course (3rd Edition)

The Complete Node.js Developer Course (3rd Edition)

Andrew Mead, Codestars By Rob Percival

Publisher Resources

ISBN: 9781800562523Supplemental Content