2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-02 16:04:10 +03:00

Add a note that several requests can cancelled with the same token.

I asked the question in #516, pretty sure it will help other people too.
This commit is contained in:
Khalid Jebbari
2016-11-05 17:50:28 +01:00
committed by GitHub
parent d963368960
commit e167b82a86
+2
View File
@@ -512,6 +512,8 @@ axios.get('/user/12345', {
cancel();
```
Note : you can cancel several requests with the same cancel token.
## Semver
Until axios reaches a `1.0` release, breaking changes will be released with a new minor version. For example `0.5.1`, and `0.5.4` will have the same API, but `0.6.0` will have breaking changes.