Closeable

interface Closeable(source)

Represents a resource or entity that can be closed to release any associated resources.

Functions

Link copied to clipboard
abstract suspend fun close()

Closes the current resource and releases any underlying resources associated with it.