Glossary: Kotlin Beyond the Basics
collect
Also written: emit
`collect` receives each value of a flow, and `emit` sends one from inside a `flow { }` block. Both are suspend functions.
Glossary: Kotlin Beyond the Basics
Also written: emit
`collect` receives each value of a flow, and `emit` sends one from inside a `flow { }` block. Both are suspend functions.