Update article.md
This commit is contained in:
parent
f2078b1d80
commit
0b6cfc9b1e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ fetch(url, {
|
||||||
|
|
||||||
The `fetch` method knows how to work with `AbortController`. It will listen to `abort` events on `signal`.
|
The `fetch` method knows how to work with `AbortController`. It will listen to `abort` events on `signal`.
|
||||||
|
|
||||||
Now, to to abort, call `controller.abort()`:
|
Now, to abort, call `controller.abort()`:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
controller.abort();
|
controller.abort();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue