<@U1PBEDZL5> commented on <@U1PBEDZL5>’s file <htt...
# coroutines
u
@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)
    }
}