Modern Asynchronous JavaScript Tackle Complex Async Tasks with Less CodeКНИГИ » ПРОГРАММИНГ
Название: Modern Asynchronous javascript: Tackle Complex Async Tasks with Less Code Автор: Faraz K. Kelhini Издательство: Pragmatic Bookshelf Год: December 2, 2021 (Version: P1.0) Страниц: 112 Язык: английский Формат: pdf, epub Размер: 10.15 MB
javascript today must interact with data-intensive APIs and networks. The solution is a program that can work asynchronously instead of finishing tasks in order. In modern javascript, instead of callbacks you'll use promises to improve your application's performance and responsiveness. javascript features introduced in ES2020, ES2021, and ESNext like Promise.allSettled(), Promise.any(), and top-level await help you develop small, fast, low-profile applications. With the AbortController API, cancel a pending async request before it has completed. Modern Asynchronous javascript gives you an arsenal of tools to build programs that always respond to user requests, recover quickly from difficult conditions, and deliver maximum performance.
Applications today must work with information on remote servers, and users expect a quick response to complex interactions at all times, whether on a high-speed 5G cellular network or slow public WiFi. javascript provides developers with advanced tools to coordinate the asynchronous parts of their code efficiently and deliver responsive programs. Faster applications equal happier users, which is the promise of asynchronous javascript.
With Modern Asynchronous javascript you'll learn techniques for managing your async code. Features like ES2021 Promise.any() allow you to safeguard your async code from external issues that are out of your control like server downtime. You'll discover secret weapons like top-level await to initialize resources, define dependency paths dynamically, and load dependencies with a fallback implementation. You'll even learn to how to set a time limit for async requests and react if they take too long to complete.
Fast, reliable applications are a must in today's world, where users demand increasingly greater amounts of data on mobile devices. Asynchronous programming may require more cautious planning than synchronous programming but the outcome is rewarding. Asynchronous javascript allows you to write code that is nimble but reliable, leading to programs that load faster, respond quicker, and most importantly that you can trust to function properly.
What You Need:
You'll need an intermediate level of javascript programming skills and a browser that supports features from ES2020, ES2021, and ESNext.
Скачать Modern Asynchronous javascript Tackle Complex Async Tasks with Less Code
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
С этой публикацией часто скачивают:
Modern Concurrency in Swift (1st Edition) Название: Modern Concurrency in Swift (1st Edition) Автор: Marin Todorov Издательство: Razeware LLC Год: 2021 (v1.0.1) Страниц: 263 Язык: английский...
JavaScript: Best Practice Название: javascript: Best Practice Автор: James-Kolce Издательство: SitePoint Год: 2018 Страниц: 129 Формат: EPUB Размер: 10 Mb Язык: English ...
Async in C# 5.0: Unleash the Power of Async Автор: Alex Davies Название: Async in C# 5.0: Unleash the Power of Async Издательство: O'Reilly Media Год: 2012 ISBN: 1449337163 Язык: English...
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.