- Mastering JavaScript Promises
- Muzzamil Hussain
- 101字
- 2021-07-16 13:46:45
Where Promises.js came in?
Those of you who are aware of how a server-side script executes in an I/O event know that reading or writing data to and from a drive is blocking in nature, that is, during its execution, no other operation can be performed by a server-side language, even by the client. Well, with Promises.js, this is no longer the case. Promises.js utilizes a nonblocking strategy to perform I/O operations, so a client using your web app is free to perform any other tasks they want to without having to wait for the data read/write operation to be completed.
推薦閱讀
- CockroachDB權威指南
- Debian 7:System Administration Best Practices
- Java 9 Programming Blueprints
- INSTANT CakePHP Starter
- Bootstrap Essentials
- 基于Swift語言的iOS App 商業實戰教程
- Unreal Engine 4 Shaders and Effects Cookbook
- Windows Embedded CE 6.0程序設計實戰
- 機器學習微積分一本通(Python版)
- Learning Android Application Testing
- Python Projects for Kids
- Unity與C++網絡游戲開發實戰:基于VR、AI與分布式架構
- 程序員的算法趣題2
- Instant MongoDB
- Swift項目開發基礎教程