Skip to content

Conversation

@avij1109
Copy link
Contributor

This PR fixes the bug when future is restarted, the state remains ready instead of pending

Fixes #2812

@avij1109 avij1109 requested a review from a team as a code owner January 21, 2025 19:26
@ealmloff ealmloff added bug Something isn't working hooks Changes to built-in hook package labels Jan 21, 2025
@ealmloff ealmloff changed the title fiexed the bug when future restarts the state goes to ready instead of pending fixed the bug when future restarts the state goes to ready instead of pending Mar 20, 2025
@ealmloff ealmloff merged commit bdf87aa into DioxusLabs:main Mar 27, 2025
16 of 17 checks passed
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jun 2, 2025
… pending (DioxusLabs#3617)

* fiexed the bug when future restarts the state goes to ready instead of pending

* fix typo

* Fix future and formatting

---------

Co-authored-by: Evan Almloff <[email protected]>
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jul 23, 2025
… pending (DioxusLabs#3617)

* fiexed the bug when future restarts the state goes to ready instead of pending

* fix typo

* Fix future and formatting

---------

Co-authored-by: Evan Almloff <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working hooks Changes to built-in hook package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resource of use_resource state should go back to Pending when a dependency changes.

4 participants