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

Overhaul async hooks: use_future, use_coroutine, use_effect (new) #161

Merged
merged 14 commits into from
Feb 26, 2022

Conversation

jkelleyrtp
Copy link
Member

@jkelleyrtp jkelleyrtp commented Jan 26, 2022

This PR overhauls

  • use_future to include a dependency array through some very clever rust trait magic (!)
  • use_coroutine to be designed explicitly for long-running async tasks
  • use_effect as a flavor of use_future that doesn't cause re-renders

@jkelleyrtp jkelleyrtp mentioned this pull request Feb 21, 2022
@jkelleyrtp jkelleyrtp marked this pull request as ready for review February 22, 2022 04:34
@jkelleyrtp jkelleyrtp changed the title Coroutine overhaul Overhaul async hooks: use_future, use_coroutine, use_effect (new), use_callback (new) Feb 22, 2022
@jkelleyrtp jkelleyrtp changed the title Overhaul async hooks: use_future, use_coroutine, use_effect (new), use_callback (new) Overhaul async hooks: use_future, use_coroutine, use_effect (new) Feb 26, 2022
@jkelleyrtp
Copy link
Member Author

Here we goooooo

@jkelleyrtp jkelleyrtp merged commit eadcd92 into master Feb 26, 2022
@jkelleyrtp jkelleyrtp deleted the jk/coroutine-coroutineoverhaul branch April 27, 2022 05:35
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.

1 participant