Scoop API

scoop:scoop.core:0.1.0

Disposable

interface Disposable

source · line 5
public
public interface Disposable

A resource with explicit cleanup. Whether repeated disposal is accepted is specified by each implementation.

function dispose

source · line 9
public
public fun dispose(): Unit

Releases the resource according to the implementation's ownership contract.