Function getProtectedObjects

  • This returns objects which native code has explicitly protected from being garbage collected

    By calling this function you create another reference to the object, which will further prevent it from being garbage collected

    This function is mostly a debugging tool for bun itself.

    Warning: not all objects returned are supposed to be observable from JavaScript

    Returns any[]

  • This returns objects which native code has explicitly protected from being garbage collected

    By calling this function you create another reference to the object, which will further prevent it from being garbage collected

    This function is mostly a debugging tool for bun itself.

    Warning: not all objects returned are supposed to be observable from JavaScript

    Returns any[]

Generated using TypeDoc