Function mozjs_sys::jsapi::JS::GetPromiseAllocationSite

source ·
pub unsafe extern "C" fn GetPromiseAllocationSite(
    promise: HandleObject,
) -> *mut JSObject
Expand description

Returns a js::SavedFrame linked list of the stack that lead to the given Promise’s allocation.