Join Slack
Powered by
<@U1PBEDZL5> commented on <@U1PBEDZL5>’s file <htt...
# coroutines
u
user
05/24/2017, 8:59 AM
@ctierney
commented on
@ctierney
’s file
https://kotlinlang.slack.com/files/U1PBEDZL5/F5GFKRMR6/-.txt
: Replacing the contents of the
launch
block with this works, but I'm still curious why the original fails to compile.
Copy code
file.bufferedReader().use { while(true) { actor.send(it.readLine() ?: break) } }
-.txt
Open in Slack
Previous
Next