commonMain.io.klibs.util.Closeable.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closeable-jvm Show documentation
Show all versions of closeable-jvm Show documentation
Closable resource definition.
The newest version!
package io.klibs.util
/**
* # Closeable Resource
*
* Defines a type that wraps or implements a resource which may be closed.
*
* @author Elizabeth Paige Harper - https://github.com/foxcapades
* @since 1.0.0
*/
expect interface Closeable {
/**
* Closes this closable resource.
*
* Implementations of this method may throw exceptions.
*/
fun close()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy