https://kotlinlang.org logo
#coroutines
Title
# coroutines
l

louiscad

07/11/2020, 6:38 PM
Hello, did you ever forget to activate/collect a
Flow
? If so, please react with . I personally did (and that made a minor bug reach production), so I submitted a feature request: https://youtrack.jetbrains.com/issue/KT-40228
13
p

Paul Woitaschek

07/12/2020, 5:02 PM
Hm, isn't this a general thing? I think in most of the cases when something in my functions doesn't return unit, not using the result is a mistake
l

louiscad

07/12/2020, 5:06 PM
With
Flow
, it's even more likely to be a mistake, but you're right. Cases where it's less likely to be a mistake is when using scoping functions (e.g.
let
or
with
) without producing a type like
Flow
.
r

Ryan Simon

07/14/2020, 12:24 AM
definitely happened to me, and voted 👍
4 Views