interface Disposable
source · line 5public
public interface Disposable
A resource with explicit cleanup. Whether repeated disposal is accepted is specified by each implementation.
function dispose
source · line 9public
public fun dispose(): Unit
Releases the resource according to the implementation's ownership contract.