Function mozjs::jsapi::JS::GetPromiseID

source ·
pub unsafe extern "C" fn GetPromiseID(
    promise: Handle<*mut JSObject>,
) -> u64
Expand description

Returns the given Promise’s process-unique ID.