October 2015
Intermediate to advanced
520 pages
12h 34m
English
CHAPTER 14
![]()
Q
I’m an idea-man. Hard work isn’t my forte.
—Q, Star Trek: Voyager
JavaScript is an asynchronous language. Developers can instruct the JavaScript runtime, whether in the browser or on the server, to “schedule” code to be run at a future point in time. This feature is often used to delay the start of a CPU-intensive or long-running operation, giving an application time to finish its current tasks before moving on to more labor-intensive ones. This feature is so powerful that traditionally synchronous languages like Java, C#, PHP, and Ruby have followed suit and adopted it. Some languages, like C#, have implemented the asynchronous ...