pub unsafe extern "C" fn SetGCSliceCallback(
    cx: *mut JSContext,
    callback: GCSliceCallback
) -> GCSliceCallback
Expand description

The GC slice callback is called at the beginning and end of each slice. This callback may be used for GC notifications as well as to perform additional marking.