ReadonlypointerThe callback function pointer, passable to native functions. Throws after release().
Return the function pointer, throwing if the callback has been released.
Release the callback and free native resources. Must be called when done.
Handler called with the error message when the JS function throws.
Without a handler (or after setErrorHandler(null)) the error is
reported with process.emitWarning.
Message of the last exception thrown by the JS function, or null.
Native callback class for main-thread callbacks.