Scoop API

scoop:scoop.window:0.1.0

NativeWindowLease

class NativeWindowLease

source · line 6
public
public class NativeWindowLease internal constructor(private val owner: WindowOwner) : Closeable

An explicit native borrow that prevents active destruction until owner-side retirement.

function close

source · line 26
public
public override fun close(): Unit

Ends the borrow once, from any thread; actual release remains on the owner.