kotlin-stdlib / kotlin / AutoCloseable AutoCloseable Common JS Native 1.8 @ExperimentalStdlibApi interface AutoCloseable(Common source) (JS source) (Native source) A resource that can be closed or released. Functions Common JS Native 1.0 close Closes this resource. abstract fun close()