Function script::dom::bindings::import::module::jsapi::JS::IncrementalGCHasForegroundWork

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

Return whether an incremental GC has work to do on the foreground thread and would make progress if a slice was run now. If this returns false then the GC is waiting for background threads to finish their work and a slice started now would return immediately.