AutoCloseable

expect interface AutoCloseable(source)

A resource that can be closed or released.

Since Kotlin

2.0
actual interface AutoCloseable(source)

Since Kotlin

2.0

Since Kotlin

2.0
actual interface AutoCloseable(source)

Since Kotlin

2.0
actual interface AutoCloseable(source)

Since Kotlin

2.0
actual interface AutoCloseable(source)

Since Kotlin

2.0

Functions

Link copied to clipboard
expect abstract fun close()

Closes this resource.

Since Kotlin 2.0
actual abstract fun close()
Since Kotlin 2.0
actual abstract fun close()
Since Kotlin 2.0
actual abstract fun close()
Since Kotlin 2.0
actual abstract fun close()
Since Kotlin 2.0