I am prototyping the Atomics.waitAsync proposal. It is currently stage 3 at
TC39.

*Summary*: Atomics.waitAsync is an asynchronous version of Atomics.wait.
Instead of blocking the current thread, it returns a promise that will
resolve when the waiter is notified. This allows it to be used on the main
thread.

*Bug*: https://bugzilla.mozilla.org/show_bug.cgi?id=1467846

*Standard*: https://tc39.es/proposal-atomics-wait-async

*Platform coverage*: all

*Preference*: javascript.options.experimental.atomics_waitAsync

*Other browsers*: Shipping in Chrome
<https://groups.google.com/a/chromium.org/g/blink-dev/c/Kprh_FIyj74/m/hWK9sy7UAgAJ>
.

*web-platform-tests*: Tested in test262:
https://github.com/tc39/test262/tree/main/test/built-ins/Atomics/waitAsync

- Iain

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAK9GY-r0sLLjX5ZahS_SGM2paDkFyiHrFBKhM8-zY7co4KnjMw%40mail.gmail.com.

Reply via email to