kotlin.io.java.io.Reader.forEachLine

forEachLine

fun Reader.forEachLine(action: (String) -> Unit)

Platform and version requirements: JVM

Iterates through each line of this reader, calls action for each line read and closes the Reader when it's completed.

Parameters

<