js_sys::Atomics

Function wait_async_with_timeout_bigint

Source
pub fn wait_async_with_timeout_bigint(
    typed_array: &BigInt64Array,
    index: u32,
    value: i64,
    timeout: f64,
) -> Result<Object, JsValue>
Expand description

Like waitAsync(), but with timeout

You should use wait_async_with_timeout to operate on a Int32Array.

MDN documentation