Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate ch06-01 in french. #10

Open
wants to merge 1 commit into
base: french-release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions FRENCH/src/06_multiple_futures/01_chapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!--
# Executing Multiple Futures at a Time
-->

# Exécuter plusieurs futures en même temps

<!--
Up until now, we've mostly executed futures by using `.await`, which blocks
the current task until a particular `Future` completes. However, real
asynchronous applications often need to execute several different
operations concurrently.
-->

Jusqu'à présent, nous avons principalement exécuté les futures en utilisant
`.await`, ce qui bloque la tâche courante jusqu'à ce qu'une `Future` soit
terminée. Cependant, les applications asynchrones de la vraie vie ont souvent
besoin d'exécuter plusieurs opérations différentes en concurrence.

<!--
In this chapter, we'll cover some ways to execute multiple asynchronous
operations at the same time:
-->

Dans ce chapitre, nous allons voir différentes manières d'exécuter plusieurs
opérations asynchrones en même temps :

<!--
- `join!`: waits for futures to all complete
- `select!`: waits for one of several futures to complete
- Spawning: creates a top-level task which ambiently runs a future to completion
- `FuturesUnordered`: a group of futures which yields the result of each subfuture
-->

- `join!` : attends que toutes les futures se terminent
- `select!` : attends qu'une des futures se termine
- Spawning : crée une tâche de haut-niveau qui exécute de manière globale une
future jusqu'à ce qu'elle se termine
- `FuturesUnordered` : un groupe de futures qui retourne le résultat de chaque
sous-futures
2 changes: 2 additions & 0 deletions FRENCH/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Table des matières

- [Exécuter plusieurs futures en même temps](06_multiple_futures/01_chapter.md)

[Traduction des termes](translation-terms.md)