Modern Asynchronous JavaScript: Tackle Complex Async Tasks with Less Code


Modern Asynchronous JavaScript
Author: Faraz K. Kelhini
ASIN: B09NQQ8715
Publisher Finelybook 出版社: Pragmatic Bookshelf; 1st edition (December 17,2021)
Publication Date 出版日期: December 17,2021
Language 语言: English
Text-to-Speech: Enabled
pages 页数: 143 pages


Book Description
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

下载地址 Download
打赏
未经允许不得转载:finelybook » Modern Asynchronous JavaScript: Tackle Complex Async Tasks with Less Code

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏