close

abstract fun close(cause: Throwable? = null)

Closes the underlying Channel. After all items have been consumed, this Turbine will yield Event.Complete if cause is null, and Event.Error otherwise.