#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_SetCanBlock(
rt: *mut JsRuntime,
can_block: Bool,
)Expand description
JS_SetCanBlock: whether a blocking operation (a synchronous Atomics.wait) is allowed.
ยงSafety
rt must be a live runtime.