Join Slack
Powered by
I have a Q regarding `suspend` and e.g. `produce`:...
# coroutines
n
nkiesel
05/23/2017, 12:44 AM
I have a Q regarding
suspend
and e.g. `produce`: why does
fun produceSquares() = produce<Int>(CommonPool) { for (x in 1..5) send(x * x) }
does not need a
suspend
?
Open in Slack
Previous
Next