Function js::jsapi::SetGCNurseryCollectionCallback
[−]
[src]
pub unsafe extern "C" fn SetGCNurseryCollectionCallback(
rt: *mut JSRuntime,
callback: GCNurseryCollectionCallback
) -> GCNurseryCollectionCallback
Set the nursery collection callback for the given runtime. When set, it will be called at the start and end of every nursery collection.