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: trackedTask must return correct last value #806

Conversation

sergey-zhidkov
Copy link
Contributor

This PR fixes the issue described at #793

The issue: If the task was called multiple times and the last returned value was null or undefined, then trackedTask will return the previous value instead of the current one.

@changeset-bot
Copy link

changeset-bot bot commented Mar 9, 2023

🦋 Changeset detected

Latest commit: 00e8f2f

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@NullVoxPopuli NullVoxPopuli force-pushed the correct-returned-value-by-trackedtask branch from 434ca78 to 00e8f2f Compare March 9, 2023 13:39
@NullVoxPopuli
Copy link
Owner

thank you!!!!

@NullVoxPopuli NullVoxPopuli merged commit 73e99dd into NullVoxPopuli:main Mar 9, 2023
@github-actions github-actions bot mentioned this pull request Mar 9, 2023
@github-actions github-actions bot mentioned this pull request Apr 24, 2023
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