Scoop API

scoop:scoop.asyncio:0.1.0

AsyncCloseable

interface AsyncCloseable

source · line 6
public
public interface AsyncCloseable

A resource whose cleanup may suspend until active native operations and borrows have finished.

function close

source · line 10
public
public suspend fun close(): Unit

Closes the resource under its implementation's cleanup and repeat-call contract.