MrefCallback
Bun

method

ffi.DynamicLibrary.refCallback

pointer: bigint
): void;

Keeps the callback strongly referenced by JavaScript.