Skip to content

Commit aed0d1e

Browse files
committed
Conflict fixed on "Fetch: Abort" page in french language
1 parent 99dcf8b commit aed0d1e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

5-network/04-fetch-abort/article.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ let results = await Promise.all([...fetchJobs, ourJob]);
143143

144144
## Résumé
145145

146-
<<<<<<< HEAD
147146
- `AbortController` est un objet simple qui génère un événement `abort` sur sa propriété `signal` lorsque la méthode `abort()` est appelée (et définit également `signal.aborted` sur` true`).
148147
- `fetch` s'intègre avec lui : nous passons la propriété `signal` comme option, puis` fetch` l'écoute, il devient donc possible d'annuler le `fetch`.
149148
- Nous pouvons utiliser `AbortController` dans notre code. L'interaction "appeler `abort()`" -> "écouter l'événement `abort`" est simple et universelle. Nous pouvons l'utiliser même sans `fetch`.
150-
=======
151-
- `AbortController` is a simple object that generates an `abort` event on its `signal` property when the `abort()` method is called (and also sets `signal.aborted` to `true`).
152-
- `fetch` integrates with it: we pass the `signal` property as the option, and then `fetch` listens to it, so it's possible to abort the `fetch`.
153-
- We can use `AbortController` in our code. The "call `abort()`" -> "listen to `abort` event" interaction is simple and universal. We can use it even without `fetch`.
154-
>>>>>>> bf7d8bb1af3b416d393af1c15b03cb1352da1f9c

0 commit comments

Comments
 (0)