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

Convert functions querying in the DB to suspend functions #5842

Open
ganfra opened this issue Apr 26, 2022 · 0 comments
Open

Convert functions querying in the DB to suspend functions #5842

ganfra opened this issue Apr 26, 2022 · 0 comments
Labels
A-DevX Anything that can improve the DevX matrix-sdk T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-ElementX

Comments

@ganfra
Copy link
Member

ganfra commented Apr 26, 2022

Currently most of the functions which query the db underneath are not suspending. To make sure we are not blocking main thread, we should make them suspend. This should be done at the lower level possible.

This will rely on #6498 as coroutines are now fully supported and easier to handle with only one realm instance.

@ganfra ganfra added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Apr 26, 2022
@ganfra ganfra added A-DevX Anything that can improve the DevX Z-ElementX labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-DevX Anything that can improve the DevX matrix-sdk T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-ElementX
Projects
None yet
Development

No branches or pull requests

1 participant