StackOverflow Questions for Tag: kotlinx.coroutines.flow

Kahan Bhalani
Kahan Bhalani

Reputation: 193

Why ViewModel's StateFlow is not updating when inside a unit test and is mapped from a repository to UI state using stateIn?

Score: 0

Views: 79

Answers: 1

Read More
nepa
nepa

Reputation: 1462

Flow doesn't emit in test when using Dispatchers.Main.immediate (or viewModelScope) to change the value of a StateFlow

Score: 1

Views: 134

Answers: 1

Read More
Dmitry  Simakov
Dmitry Simakov

Reputation: 710

Kotlin Flow vs LiveData

Score: 41

Views: 18203

Answers: 3

Read More
鱼呀鱼呀鱼子酱
鱼呀鱼呀鱼子酱

Reputation: 23

Why does kotlin flow 'onStart' method not call immediately after 'collect' is called?

Score: 2

Views: 216

Answers: 0

Read More
Makruzz
Makruzz

Reputation: 127

Kotlin async not running tasks parallelly

Score: 2

Views: 363

Answers: 1

Read More
JonasLevin
JonasLevin

Reputation: 2089

SQLDelight convert query return type when using flows

Score: 2

Views: 2137

Answers: 2

Read More
Ali Kazi
Ali Kazi

Reputation: 1636

Run coroutines concurrently without waiting for completion

Score: 0

Views: 148

Answers: 1

Read More
SVK
SVK

Reputation: 746

Propagate exception from background thread to main thread with Kotlin Coroutines

Score: 0

Views: 720

Answers: 1

Read More
Puzirki
Puzirki

Reputation: 452

kotlin coroutines: how to avoid multiple calls of map() if we have 2 or more collectors

Score: 0

Views: 216

Answers: 1

Read More
Puzirki
Puzirki

Reputation: 452

Kotlin coroutines: flatMapLatest emits nothing

Score: 2

Views: 931

Answers: 1

Read More
ant2009
ant2009

Reputation: 22486

Using flows to return a list as a terminal operator

Score: 0

Views: 353

Answers: 1

Read More
johngray1965
johngray1965

Reputation: 652

Android Paging3 Room performance

Score: 1

Views: 195

Answers: 1

Read More
Saquib Siddique
Saquib Siddique

Reputation: 105

How to return fusedLocationProviderClient().lastLocation as flow from a function in kotlin coroutines

Score: 4

Views: 1899

Answers: 1

Read More
Luan
Luan

Reputation: 166

How to combine Kotlin flows only when the first is emitting a (not null) value, unsubscribing the second one if it is not?

Score: 2

Views: 2784

Answers: 1

Read More
Esdras
Esdras

Reputation: 365

Test MutableSharedFlow with runTest

Score: 1

Views: 573

Answers: 0

Read More
HellBoy
HellBoy

Reputation: 1

Cannot send in Coroutines Channel

Score: 0

Views: 209

Answers: 0

Read More
sjp
sjp

Reputation: 392

Unit test of method collecting infinite Flow in background runs forever

Score: 1

Views: 2094

Answers: 1

Read More
epikmartin
epikmartin

Reputation: 31

Is it possible to consume text/event-stream with JavaScript in a WebBrowser?

Score: 3

Views: 3419

Answers: 1

Read More
dogTheCode
dogTheCode

Reputation: 21

Accessing values outside a coroutine scope in Kotlin

Score: 1

Views: 2067

Answers: 1

Read More
Sprout
Sprout

Reputation: 650

Moving Window With Kotlin Flow

Score: 7

Views: 1510

Answers: 1

Read More
PreviousPage 1Next