iterator

operator fun iterator(): Connector(source)

Allows a Connector to be iterated directly, e.g. in a for loop over its lines. Because next returns a Result, the loop variable is a Result<String>.