pub unsafe extern "C" fn IterateRealms(
cx: *mut JSContext,
data: *mut c_void,
realmCallback: Option<unsafe extern "C" fn(*mut JSContext, *mut c_void, *mut Realm, *const AutoRequireNoGC)>,
)
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.