Closed weefbellington closed 1 month ago
SharedFlow.collect function specifies Nothing as its return type. This is helpful for preventing errors, since the linter can mark any code after collect as unreachable.
collect
Consider changing the EventListenable.collect extension function to match.
See also this issue: https://github.com/Kotlin/kotlinx.coroutines/issues/2789
Thanks for the heads up! Will do.
SharedFlow.collect function specifies Nothing as its return type. This is helpful for preventing errors, since the linter can mark any code after
collect
as unreachable.Consider changing the EventListenable.collect extension function to match.
See also this issue: https://github.com/Kotlin/kotlinx.coroutines/issues/2789