Add reset method to SpaceRoomList
This commit is contained in:
parent
692302df5c
commit
33eb848c94
4 changed files with 17 additions and 0 deletions
|
|
@ -81,6 +81,12 @@ class RustSpaceRoomList(
|
|||
}
|
||||
}
|
||||
|
||||
override suspend fun reset(): Result<Unit> {
|
||||
return runCatchingExceptions {
|
||||
innerCompletable.await().reset()
|
||||
}
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
override fun destroy() {
|
||||
Timber.d("Destroying SpaceRoomList $roomId")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue