close

fun close()(source)

Closes the channel: buffered events are still delivered, then events completes.