js_sys::Atomics

Function notify

Source
pub fn notify(typed_array: &Int32Array, index: u32) -> Result<u32, JsValue>
Expand description

The static Atomics.notify() method notifies up some agents that are sleeping in the wait queue. Note: This operation works with a shared Int32Array only. If count is not provided, notifies all the agents in the queue.

MDN documentation