官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 锡林郭勒盟| 邛崃市| 平安县| 察哈| 湄潭县| 洪江市| 潢川县| 安国市| 盐源县| 乌拉特中旗| 崇文区| 保靖县| 响水县| 嵩明县| 大埔区| 东港市| 濮阳县| 大荔县| 栾城县| 霞浦县| 华容县| 观塘区| 五台县| 安宁市| 眉山市| 荔波县| 涟源市| 高淳县| 双鸭山市| 五指山市| 绿春县| 成都市| 新丰县| 上虞市| 互助| 东兰县| 岳西县| 交口县| 寿阳县| 任丘市| 柘城县|