SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 113 TypeScript

docs(query-cancellation): remove more references to old cancel fn (#4631)

Apparently these were missed in https://github.com/TanStack/query/commit/a1050eb0d7c7c44731fc7e6839e77f69f83bab67.

It is confusing because the [Migration to v4 guide](https://tanstack.com/query/v4/docs/guides/migrating-to-react-query-4#the-cancel-method-on-promises-is-no-longer-supported) 
states that the `cancel` property in promises is no longer supported, but the docs for Query Cancellation seem to imply that it is.

I assume that it is not supported anymore based on the commit linked above, the migration guide and my own testing.
If that is indeed the case, let's clean this up.
R
Ronald Rey committed
d2e9d3ea3be84bd1d507c6cc681a5503cd845456
Parent: 2a370ab
Committed by GitHub <noreply@github.com> on 12/13/2022, 7:04:34 PM