Convert functions querying in the DB to suspend functions #5842
Labels
A-DevX
Anything that can improve the DevX
matrix-sdk
T-Task
Refactoring, enabling or disabling functionality, other engineering tasks
Z-ElementX
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.
The text was updated successfully, but these errors were encountered: