— the code inside a flow builder does not run until the flow is collected. https://kotlinlang.org/docs/reference/coroutines/flow.html#flows-are-cold RxJavaのユースケースもほとんどCold Stream
emit("second") delay(1000) emit("third") } launch { f.collect { value -> println("a: $value") } } launch { delay(1000) f.collect { value -> println("b: $value") } } } a: first a: second b: first a: third b: second b: third a, b共に互いに影響しない (別のStreamが作られている)