Atomics.waitAsync
Limited availability
The Atomics.waitAsync()
static method waits for a value in a shared memory location, providing a promise when the expected value is not yet in memory. The waitAsync()
method is a non-blocking alternative to Atomics.wait()
.
To learn more, see
Atomics.waitAsync() at MDN.
Compatibility
- Chrome 87 Released on 2020-11-17
- Chrome Android 89 Released on 2021-03-02
- Edge 87 Released on 2020-11-19
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android ❌ Search for bugs Search for standards position
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Baseline availability blocked since March 2023 by Firefox (20 months)
Specifications
- ECMAScript Language Specification (#sec-atomics.waitasync), from TC39 (Ecma International).