Function mozjs_sys::jsapi::JS::ContainsSharedArrayBuffer
source ยท pub unsafe extern "C" fn ContainsSharedArrayBuffer(
cx: *mut JSContext,
) -> bool
Expand description
Returns true if there are any live SharedArrayBuffer objects, including those for wasm memories, associated with the context. This is conservative, because it does not run GC. Some dead objects may not have been collected yet and thus will be thought live.