Function mozjs_sys::jsapi::JS::IterateRealms

source ·
pub unsafe extern "C" fn IterateRealms(
    cx: *mut JSContext,
    data: *mut c_void,
    realmCallback: IterateRealmCallback
)
Expand description

This function calls |realmCallback| on every realm. Beware that there is no guarantee that the realm will survive after the callback returns. Also, barriers are disabled via the TraceSession.