Skip to content

Conversation

@zorzysty
Copy link
Collaborator

@zorzysty zorzysty commented Nov 2, 2022

No description provided.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0e3d57b:

Sandbox Source
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-vue-basic Configuration

cancelFn = jest.fn(() => reject('Cancelled'))
signal?.addEventListener('abort', cancelFn)
sleep(20).then(() => resolve('OK'))
sleep(1000).then(() => resolve('OK'))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be an arbitrarily long value, we're cancelling the query before it's resolved.

@TkDodo TkDodo merged commit 2e6dab1 into TanStack:main Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants