
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
About this book
Are you tired of debugging mysterious JavaScript behavior? Do you want to write fast, non-blocking apps that actually scale? Inside the Event Loop is the practical, hands-on guide that takes you from beginner to pro in understanding how JavaScript runs your code. This book demystifies the event loop, call stack, and task queues, showing you exactly how to use callbacks, promises, async/await, and microtasks the right way. You'll learn to avoid callback hell, manage concurrency, and optimize performance for real-world applications. With clear explanations and code examples, Elliot Farrell walks you through the core concepts that every JavaScript developer must master. Whether you're building web apps, Node.js services, or just want to write cleaner code, this book is your roadmap to non-blocking mastery. By the end, you'll confidently handle asynchronous patterns and build apps that are both fast and maintainable. No fluff, just the practical skills you need to level up. Unlike other books that gloss over the details, this one gives you the deep understanding required to write production-ready code. Compare with [placeholder] and [placeholder] to see the difference.
This hands-on JavaScript/Web guide is written to be used at the keyboard: every concept is paired with something you can run, adapt, and keep. You move from first principles to real, working results, with the common errors and fixes called out along the way so you are never stuck for long.
Trusted byΒ 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Subtopic
ProgrammingIndex
Computer ScienceTable of contents
- Inside the Event Loop
- Inside the Event Loop
- Preface
- Chapter 1 β Setting the Stage β Async Fundamentals and Project Scaffolding
- Chapter 2 β Callbacks β Handling User Interactions
- Chapter 3 β Error Handling in Callback Patterns
- Chapter 4 β Promises β Escaping Callback Hell
- Chapter 5 β Advanced Promise Patterns β Parallel and Race
- Chapter 6 β Async/Await β Modern Async Syntax
- Chapter 7 β Error Handling with Async/Await
- Chapter 8 β Fetch API β Communicating with a REST Backend
- Chapter 9 β Browser Async β DOM Updates and Animation
- Chapter 10 β Node.js and Server-Side Async
- Chapter 11 β Real-Time Communication with WebSockets β Basics
- Chapter 12 β Real-Time Communication with WebSockets β Advanced
- Chapter 13 β Event Loop close look and Microtasks
- Chapter 14 β Testing Asynchronous Code
- Chapter 15 β Performance Optimization and Best Practices
- Chapter 16 β Deploying the Async Chat Application
- Chapter 17 β Async Iterators and Generators
- Chapter 18 β Future Directions β Async in the Modern Web
- About the Author
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, weβve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere β even offline. Perfect for commutes or when youβre on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Inside the Event Loop by Elliot Farrell in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over 1.5 million books available in our catalogue for you to explore.