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

Only use AbortSignal.timeout if it exists #197

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

cleve-fauna
Copy link
Contributor

@cleve-fauna cleve-fauna commented Aug 21, 2023

Ticket(s): FE-###

Problem

AbortSignal.timeout is not supported in fairly recent browser versions.

Solution

Use AbortController (support since 2019 in all major browsers) if AbortSignal.timeout is undefined.

Result

Older browsers can use.

Testing

Best test will be with dashboard.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

henryfauna
henryfauna previously approved these changes Aug 21, 2023
@cleve-fauna cleve-fauna enabled auto-merge (squash) August 21, 2023 16:37
@cleve-fauna cleve-fauna merged commit 819b1c3 into main Aug 21, 2023
5 checks passed
@cleve-fauna cleve-fauna deleted the main_moveOffAbortSignal branch August 21, 2023 16:38
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.

3 participants