Abstract
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 execution model as a language feature (via the async and await keywords); other languages, like PHP, support asynchronicity with external libraries like React (not to be confused with FaceBoook’s JavaScript library, React). In either case, asynchronous code and synchronous code are bound to meet.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Tim Ambler and Nicholas Cloud
About this chapter
Cite this chapter
Ambler, T., Cloud, N. (2015). Q. In: JavaScript Frameworks for Modern Web Dev. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0662-1_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0662-1_14
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0663-8
Online ISBN: 978-1-4842-0662-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books