Function mozjs_sys::jsapi::JS::SetDoCycleCollectionCallback

source ยท
pub unsafe extern "C" fn SetDoCycleCollectionCallback(
    cx: *mut JSContext,
    callback: DoCycleCollectionCallback,
) -> DoCycleCollectionCallback
Expand description

The purge gray callback is called after any COMPARTMENT_REVIVED GC in which the majority of compartments have been marked gray.