Yahoo Search Búsqueda en la Web

Resultado de búsqueda

  1. Una Promesa ( Promise) es un proxy de un valor que no necesariamente se conoce cuando se crea la promesa. Le permite asociar controladores con el valor eventual de éxito o el motivo de falla de una acción asíncrona.

  2. 14 de ago. de 2022 · A promise is a special JavaScript object that links the “producing code” and the “consuming code” together. In terms of our analogy: this is the “subscription list”. The “producing code” takes whatever time it needs to produce the promised result, and the “promise” makes that result available to all of the subscribed code when it’s ready.

  3. pixelbits' answer is correct, and you should always use .then() to access the value of a promise in production code. However, there is a way to access the promise's value directly after it has been resolved by using the following unsupported internal Node.js binding: process.binding('util').getPromiseDetails(myPromise)[1]

  4. 21 de mar. de 2024 · A Promise is an object representing the eventual completion or failure of an asynchronous operation. Since most people are consumers of already-created promises, this guide will explain consumption of returned promises before explaining how to create them.

  5. 29 de nov. de 2023 · The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. To learn about the way promises work and how you can use them, we advise you to read Using promises first.

  6. Promesas y excepciones de JavaScript. Los rechazos ocurren cuando una promesa se rechaza explícitamente, pero también implícitamente si se arroja un error en la retrollamada del constructor: var jsonPromise = new Promise(function(resolve, reject) {.

  7. Bible Verses about Promises. « » NIV. Compare. So do not fear, for I am with you; do not be dismayed, for I am your God. I will strengthen you and help you; I will uphold you with my righteous right hand. Isaiah 41:10 fear strength worrying.