API reference

Handle Class

Modifiers: final
RAII-style handle returned by IntrospectionRegistry.register. Calling Handle.close removes the single registered node. Subsystems should hold the handle for the lifetime of the data they publish and close it during teardown.
Thread-safe and idempotent: calling Handle.close more than once — even concurrently from multiple threads — invokes the underlying removal exactly once.

Signature

class Handle

Methods

close ()
Removes the registered node. Safe to call multiple times and from multiple threads.
Signature
fun close()