Join Slack
Powered by
`generate` is what is called `sync*` in the above ...
# coroutines
e
elizarov
12/16/2016, 10:12 AM
generate
is what is called
sync*
in the above code. In Kotlin you’d write
Copy code
fun greetingSevenDwarfsSync(): Sequence<String> = generate { … }
Open in Slack
Previous
Next