ktor-io / io.ktor.utils.io.core / Closeable

Closeable

expect interface Closeable

Functions

close

abstract fun close(): Unit

Inheritors

Input

expect interface Input : Closeable

Usually shouldn't be implemented directly. Inherit AbstractInput instead.

ObjectPool

interface ObjectPool<T : Any> : Closeable

Output

expect interface Output : Appendable, Closeable

This shouldn't be implemented directly. Inherit AbstractOutput instead.