2
0
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:
Jiri Spac
2017-02-14 08:38:25 +01:00
committed by GitHub
parent 68ec2abc4a
commit 4d357d15a3
+1 -1
View File
@@ -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: