close

abstract fun close()

Closes the sink.

Once closed, this sink cannot be used anymore.

Note that all open sinks are closed when a stream closes.