Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count
This commit is contained in:
parent
ce96c73fa6
commit
74735605e4
6 changed files with 106 additions and 25 deletions
|
|
@ -77,9 +77,9 @@ interface MatrixRoom : Closeable {
|
|||
|
||||
fun destroy()
|
||||
|
||||
fun subscribeToSync()
|
||||
suspend fun subscribeToSync()
|
||||
|
||||
fun unsubscribeFromSync()
|
||||
suspend fun unsubscribeFromSync()
|
||||
|
||||
suspend fun userDisplayName(userId: UserId): Result<String?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue