Download for Windows Premium
-50% Premium
async function - Spaans-EngelsEngels-Spaans
Publiciteit
async function
función asíncrona
función asincrónica
función async
async function
When the async function returns a value, the Promise will be resolved with the returned value.
Cuando una función asíncrona devuelve un valor, la Promise será resuelta con el valor devuelto.
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.
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
That promise resolves with whatever the async function returns, or rejects with whatever the async function throws.
Esa promesa resuelve con lo que sea que muestre la función asincrónica o rechaza con lo que sea que arroje la función asincrónica.
B - Node being a single thread, and uses async function calls to maintain the concurrency.
B - Nodo de ser un solo hilo, y utiliza la función async llama para mantener la concurrencia.
Rewriting a promise chain with an async function
Reescribiendo una cadena de Promise con una función async
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é.
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.
We've seen async function() {} already, but the async keyword can be used with other function syntax
Ya hemos visto la async function() {}, pero la palabra clave async se puede usar con otra sintaxis de función
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
See also The AsyncFunction constructor creates a new async function object.
El constructor de las funciones asíncronas crea un nuevo async function objeto.
It can only be used inside an async function. Syntax
Solo puede ser usado dentro de una función async function. Sintaxis
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor async function in het Engels

Woord & uitdrukking van de dag
Afbeelding van de dag
measuring tape: flexible tool for measuring length or distance
Ontdek het woord
Publiciteit

Resultaten: 16. Exact: 16. Verstreken tijd: 21 ms.