library.refCallback(pointer)
pointer<bigint>
保持回调在 JavaScript 中被强引用。
🌐 Keeps the callback strongly referenced by JavaScript.
如果回调函数在之前的 library.unrefCallback(pointer) 调用后已经被垃圾回收,会抛出 ERR_INVALID_ARG_VALUE,因为被回收的函数无法再次被引用。
🌐 Throws ERR_INVALID_ARG_VALUE if the callback function has already been
garbage collected after a previous library.unrefCallback(pointer) call, since
a collected function cannot be referenced again.