``` for (it in channel) { if(it.sth()){ ...
# coroutines
u
Copy code
for (it in channel) {
    if(it.sth()){
        doSth()
    } else {
        break
  }
}