done

protected fun done()(source)

Sets the state to done so that the iteration terminates.

Since Kotlin

1.0