Vertaling van "async method" in Frans
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Instead, the operation is implicitly started when the async method is called.
Is it possible to await an event instead of another async method?
When you have an async method with no await, the compiler warns you, but in this case there is an await on the line above.
Quand vous avez une méthode async sans await, le compilateur vous avertit, mais en l'occurrence il y a un await sur la ligne précédente.
Sometimes it is necessary to call an async method from a method that is not marked async, for example during a synchronous version implementation of an asynchronous method.
Parfois il est nécessaire d'appeler une méthode async depuis une méthode qui n'est pas marquée async, par exemple lors d'une implémentation de version synchrone d'une méthode asynchrone.
In some cases the difference can be important to the caller, if it doesn't directly await the async method.
Dans certains cas la différence peut être importante pour l'appelant, s'il n'await pas directement la méthode asynchrone.
So, the async method launched the operation before returning it to the caller.
Ainsi, la méthode asynchrone a lancé l'opération avant de la renvoyer à l'appelant.
Catch an exception thrown by an async method
Attraper une exception levée par une méthode asynchrone
When you called an async method, you got back an async operation object.
Lorsque vous appeliez une méthode asynchrone, vous obteniez en retour un objet d'opération asynchrone.
You can then retrieve the thumbnails with the same async method you used before - they'll just come back faster
Vous pouvez ensuite récupérer les miniatures en utilisant la méthode asynchrone que vous utilisez déjà.
This is quite annoying, because when some code has changed in an async method, the diff hunk header shows the signature of a previous, non-async method, or the line where the class is declared, which is confusing.
C'est assez agaçant, parce que quand du code a changé dans une méthode asynchrone, l'en-tête du bloc dans le diff indique la signature de la précédente méthode non-asynchrone, ou la ligne où la classe est déclarée, ce qui prête à confusion.
In the shown example, 963 framework methods were run in order to initialize the relatively simple async method in the first call.
Dans l'exemple proposé, 963 méthodes du Framework sont exécutées afin d'initialiser une méthode async relativement simple, lors de son premier appel.
It is however very simple to get an async method to invoke a callback upon completion, using the returned Promise object.
Si toutefois vous avez besoin d'appeler un callback explicitement, il est très facile de faire appeler une fonction de callback à la résolution d'une méthode async, en utilisant l'objet Promise retourné.
An async method that's a Sub procedure can't be awaited, and the caller can't catch any exceptions that the method throws.
Une méthode async qui est une procédure Sub ne peut pas être attendue, et l'appelant ne peut capturer aucune exception levée par la méthode.An throws.