element-hq / element-hq/element-android

Convert functions querying in the DB to suspend functions

Open
#5,842 0 comments 0 reactions 0 assignees View on GitHub
A-DevX matrix-sdk T-Task Z-ElementX
Dominant language
Kotlin
Stars
3.7k
Forks
917
Avg merge
8d 20h
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.