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()
.
Learning resources on MDN
Browser support
- Chrome 87 Released on 2020-11-17
- Chrome Android 89 Released on 2021-03-02
- Edge 87 Released on 2020-11-19
- Firefox ❌ Vendor position : positive
- Firefox for Android ❌ Vendor position : positive
- 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 (23 months)
Specifications
- ECMAScript® 2025 Language Specification (#sec-atomics.waitasync), from TC39 (Ecma International).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature