| layout | editorial |
|---|---|
| chapter | 18 |
| pageNumber | 138 |
| description | Promises are now used by most modern APIs. It is therefore important to understand how they work and to know how to use them to optimize your code. |
Las promesas (los objetos Promise) ahora son utilizadas por la mayoría de las API modernas. Por tanto, es importante comprender cómo funcionan y saber cómo utilizarlos para optimizar su código. En este capítulo, definiremos en detalle qué son las promesas y cómo usarlas en operaciones asincrónicas.