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

🐛 Fix Task Scoping for Fetch Cancellation #130

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

sdougbrown
Copy link

Fixes the outstanding error in the joltup repo:
joltup#687

This commit is pretty much just copypasta from @nadav2051 but applied to this new fork.

The assigned task variable is not available on the cancel method. This
moves the assignment outside the promise scope and allows it to be
correctly called.

The assigned `task` variable is not available on the cancel method. This
moves the assignment outside the promise scope and allows it to be
correctly called.
@RonRadtke RonRadtke merged commit 50ae139 into RonRadtke:master Mar 25, 2022
@RonRadtke
Copy link
Owner

Thank you :)

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