Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HoverController using AbortController instead of cancelToken #417

Merged

Conversation

sronveaux
Copy link
Collaborator

Current HoverController implementation uses axios cancelToken to programatically abort requests.
According to axios documentation, this is now deprecated and a standard AbortController object should be used instead.

This PR does just that, it replaces deprecated cancel tokens by abort signals.

Copy link
Collaborator

@chrismayer chrismayer left a comment

Choose a reason for hiding this comment

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

Tested and everything is as expected. Thank you for this @sronveaux! Please merge at will...

@sronveaux sronveaux merged commit 55479d1 into wegue-oss:master Sep 24, 2024
1 check passed
@sronveaux sronveaux deleted the hover-controller-with-abort-controller branch September 24, 2024 07:48
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