ReadonlypointerThe callback function pointer, passable to native functions.
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 the error is reported with process.emitWarning.
Message of the last exception thrown by the JS function, or null.
Keep the Node.js event loop alive until released (the default).
Do not keep the Node.js event loop alive.
Thread-safe callback that can be invoked from any thread.
Use this when native code may call the callback from a thread other than the main thread.