RuntimeHandle

A reference on the process-wide native runtime obtained from KggmlRuntime.acquire.

The runtime stays initialized while at least one handle is open. close releases the reference and is idempotent: only the first call has an effect, so a handle can never release more than it acquired.

Properties

Link copied to clipboard

true once close has been called.

Functions

Link copied to clipboard
open override fun close()

Releases this handle's runtime reference. Subsequent calls are no-ops.