// This file was automatically generated from flow.md by Knit tool. Do not edit. package kotlinx.coroutines.guide.exampleFlow32 import kotlinx.coroutines.* import kotlinx.coroutines.flow.* fun simple(): Flow = (1..3).asFlow() fun main() = runBlocking { simple() .onCompletion { println("Done") } .collect { value -> println(value) } }