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

Move user profile cache to its own module. #105

Conversation

kevinaboos
Copy link
Member

Require functions that must run on the main UI thread to accept a reference to Cx as a guarantee that they are running on the main thread, as &mut Cx is only available on the main UI thread.

(untested)

Require functions that must run on the main UI thread to accept
a reference to `Cx` as a guarantee that they are running
on the main thread, as `&mut Cx` is only available on the main UI thread.

(untested)
@kevinaboos kevinaboos marked this pull request as draft August 9, 2024 00:58
@kevinaboos
Copy link
Member Author

tested fully working. Background updates are now reflected in the UI-accessible profile cache wayyyy faster.

@kevinaboos kevinaboos marked this pull request as ready for review August 9, 2024 21:33
@kevinaboos
Copy link
Member Author

Partially address #96

@kevinaboos kevinaboos merged commit 54d9e9f into project-robius:main Aug 9, 2024
1 check passed
@kevinaboos kevinaboos deleted the merge_avatar_cache_and_user_profile_cache branch August 9, 2024 21:34
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