Télécharger pour Windows Premium
Publicité
an async function

Traduction de "an async function" en espagnol

Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
una función asíncrona
una función async
In Python, an async function always returns an awaitable type when called.
En Python, una función asíncrona siempre devuelve un tipo esperable cuando se llama.
When an async function is called, it returns a Promise.
Cuando una función asíncrona es llamada, ella devuelve una Promise.
An async function can contain an await expression, that pauses the execution of the async function and waits for the passed Promise's resolution, and then resumes the async function's execution and returns the resolved value.
Una función asíncrona puede contener una expresión await, que detiene la ejecución de la función asíncrona y espera la resolución de la Promise pasada, y después continúa la ejecución de la función async y devuelve el valor resuelto.
However, when converting the above to an async function, it's tempting to go too sequential
Sin embargo, cuando convertimos lo anterior en la función asincrónica, es tentador generar demasiadas secuencias
Rewriting a promise chain with an async function
Reescribiendo una cadena de Promise con una función async
You can also define async functions using an async function expression. Syntax
También puedes definir funciones asíncronas usando una declaración async function. Sintaxis
Note that in the above example, there is no await statement on the return statement, because the return value of an async function is implicitly wrapped in Promise.resolve.
Nótese que el ejemplo anterior no tiene la instrucción await en la instrucción return, debido a que el valor devuelto por una función async se pasa implícitamente a través de Promise.resolvé.
It can only be used inside an async function. Syntax
Solo puede ser usado dentro de una función async function. Sintaxis
Description An async function can contain an await expression that pauses the execution of the async function and waits for the passed Promise's resolution, and then resumes the async function's execution and evaluates as the resolved value.
Descripción La expresión await provoca que la ejecución de una función async sea pausada hasta que una Promise sea terminada o rechazada, y regresa a la ejecución de la función async después del término.
Aucun résultat pour cette recherche.
Passez à Premium pour accéder à des millions d’exemples de traduction, enregistrer et apprendre du vocabulaire en illimité, le tout sans publicité.

Synonymes et analogies de "an async function" en anglais

Le mot et l’expression du jour
L’image du jour
shield: shape used for displaying armorial bearings
Découvrir le mot
Publicité

Résultats: 9. Exacts: 9. Temps écoulé: 29 ms.