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

Alexjok

11/13/2019, 12:08 PM
Hello! I have a problem with simple flow sample:
Copy code
flowOf(1,2,3).collect { value -> println(value)  }
It doesn't compile cause: Type mismatch: Required: FlowCollector<Int> found (Nothing) -> Unit What i doing wrong?
a

Alexjok

11/13/2019, 1:18 PM
yeah, that was some kind of import mistake) Thx
5 Views