mirror of
https://github.com/tenrok/axios.git
synced 2026-05-27 14:47:43 +03:00
clarified proposal state
This commit is contained in:
@@ -473,7 +473,7 @@ axios.get('/user/12345', {
|
||||
|
||||
You can cancel a request using a *cancel token*.
|
||||
|
||||
> The axios cancel token API is based on the [cancelable promises proposal](https://github.com/tc39/proposal-cancelable-promises), which is currently at Stage 1.
|
||||
> The axios cancel token API is based on the withdrawn [cancelable promises proposal](https://github.com/tc39/proposal-cancelable-promises).
|
||||
|
||||
You can create a cancel token using the `CancelToken.source` factory as shown below:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user