Skip to content

Commit a97d86b

Browse files
docs(framework/{angular,react}/guides): use the 'en-US' MDN links for 'AbortSignal' and 'AbortController' (#12572)
docs(cancellation): update AbortSignal and AbortController MDN links to canonical en-US destination Signed-off-by: Abdul karim mia <97598943+abdul-karim-mia@users.noreply.github.com> Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
1 parent 22c69f9 commit a97d86b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/framework/angular/guides/query-cancellation.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: query-cancellation
33
title: Query Cancellation
44
---
55

6-
TanStack Query provides each query function with an [`AbortSignal` instance](https://developer.mozilla.org/docs/Web/API/AbortSignal). When a query becomes out-of-date or inactive, this `signal` will become aborted. This means that all queries are cancellable, and you can respond to the cancellation inside your query function if desired. The best part about this is that it allows you to continue to use normal async/await syntax while getting all the benefits of automatic cancellation.
6+
TanStack Query provides each query function with an [`AbortSignal` instance](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal). When a query becomes out-of-date or inactive, this `signal` will become aborted. This means that all queries are cancellable, and you can respond to the cancellation inside your query function if desired. The best part about this is that it allows you to continue to use normal async/await syntax while getting all the benefits of automatic cancellation.
77

88
## Default behavior
99

‎docs/framework/react/guides/query-cancellation.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ id: query-cancellation
33
title: Query Cancellation
44
---
55

6-
TanStack Query provides each query function with an [`AbortSignal` instance](https://developer.mozilla.org/docs/Web/API/AbortSignal). When a query becomes out-of-date or inactive, this `signal` will become aborted. This means that all queries are cancellable, and you can respond to the cancellation inside your query function if desired. The best part about this is that it allows you to continue to use normal async/await syntax while getting all the benefits of automatic cancellation.
6+
TanStack Query provides each query function with an [`AbortSignal` instance](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal). When a query becomes out-of-date or inactive, this `signal` will become aborted. This means that all queries are cancellable, and you can respond to the cancellation inside your query function if desired. The best part about this is that it allows you to continue to use normal async/await syntax while getting all the benefits of automatic cancellation.
77

8-
The `AbortController` API is available in [most runtime environments](https://developer.mozilla.org/docs/Web/API/AbortController#browser_compatibility), but if your runtime environment does not support it, you will need to provide a polyfill. There are [several available](https://www.npmjs.com/search?q=abortcontroller%20polyfill).
8+
The `AbortController` API is available in [most runtime environments](https://developer.mozilla.org/en-US/docs/Web/API/AbortController#browser_compatibility), but if your runtime environment does not support it, you will need to provide a polyfill. There are [several available](https://www.npmjs.com/search?q=abortcontroller%20polyfill).
99

1010
## Default behavior
1111

0 commit comments

Comments
 (0)