mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2966 Chats | Tech | ChatPreviewContainer (#2446)
This commit is contained in:
parent
bd9ccaff50
commit
4783b8e79e
7 changed files with 272 additions and 7 deletions
|
@ -7,6 +7,7 @@ import kotlinx.coroutines.flow.Flow
|
|||
|
||||
interface ChatEventRemoteChannel {
|
||||
fun observe(chat: Id): Flow<List<Event.Command.Chats>>
|
||||
fun subscribe(subscription: Id): Flow<List<Event.Command.Chats>>
|
||||
class Default(
|
||||
private val channel: ChatEventRemoteChannel
|
||||
) : ChatEventChannel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue