ref: https://axios-http.com/docs/cancellation it should be covered in documentation and proper example provided.