Introducing the cancellation promise and deprecating xhr parameter