Paul Woitaschek
09/24/2021, 12:43 PMObservable.never()?louiscad
09/24/2021, 12:47 PMemptyFlow<Nothing>() or flow { awaitCancellation() } depending on your use case.Paul Woitaschek
09/24/2021, 1:14 PMlouiscad
09/24/2021, 1:15 PMonStart in Flow as well, and it's intentional (see Roman Elizarov talk at KotlinConf 2019)Paul Woitaschek
09/24/2021, 1:16 PMflow {] as well 😛louiscad
09/24/2021, 1:17 PMflow { awaitCancellation() }? 😝louiscad
09/24/2021, 1:17 PMlouiscad
09/24/2021, 1:18 PMPaul Woitaschek
09/24/2021, 1:18 PMlouiscad
09/24/2021, 1:18 PMPaul Woitaschek
09/24/2021, 1:19 PMlouiscad
09/24/2021, 1:19 PMManuel Wrage
09/24/2021, 3:15 PMephemient
09/24/2021, 5:12 PMMutableSharedFlow<Nothing>.asSharedFlow() also never emits or terminatesursus
09/26/2021, 5:12 AMnever ? I use empty all the time though.bezrukov
09/26/2021, 7:47 PMnever is useful in unit tests, when some observable should be initialized, but you don't care about itPaul Woitaschek
09/26/2021, 8:10 PMfirst() in the processing line