python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Does a large amount of extraBufferCapacity in the SharedFlow cause memory leak?
I am working on a chat application with MVVM architecture and I use SharedFlow to transfer incoming messages from Repository to ViewModel. When the user is offline and another user sends a large numbe...
Hussein Yaqoobi
Votes: 0
Answers: 1
Kotlin SharedFlow and debounce operator
I want to debounce the items sent to a shared flow, and consume them after that. Something like this:
private var flow = MutableSharedFlow()
suspend fun search(query: String): Flow<Result> {
...
user1116714
Votes: 0
Answers: 2