Cleanup

fun interface Cleanup(source)

Borrows one synchronous owner-thread cleanup without transferring native resource ownership.

Functions

Link copied to clipboard
abstract fun run()

Attempts the borrowed cleanup and propagates its original failure unchanged.