Skip to content

k-libs/k-closeable

Repository files navigation

K-Closeable

k closeable docs dokka brightgreen Maven Central

Just a Closeable interface definition in Kotlin.

Import

build.gradle.kts
  implementation("io.k-libs:closeable:1.0.0")

Usage

class MyResource : Closeable {
  override fun close() {
    println("I've been closed!")
  }
}