Wrapper around a native callback.
Important: Always call release() when the callback is no longer needed to prevent memory leaks.
Readonly
The callback function pointer, passable to native functions.
Same as pointer: lets the callback be passed directly as an argument.
pointer
Release the callback and free native resources. Must be called when done.
Release the callback at the end of a using block.
using
Wrapper around a native callback.
Important: Always call release() when the callback is no longer needed to prevent memory leaks.