Is that similar to Kotlin's buildSequence/yield/... implemented with coroutines? https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutin...