https://kotlinlang.org logo
e

elizarov

09/18/2017, 8:14 AM
@kevinherron You can start children outside of parent’s code, just do
val c = produce { ... }; launch(c) { ... }
(use parent as a Job). We might deprecate the later, though. See https://github.com/Kotlin/kotlinx.coroutines/issues/127