It may be worth considering the security implications of this, if you haven't already. (Obviously, SES won't be impacted as it already denies SharedArrayBuffer.) Also may be worth considering the philosophical implications of this, as I've seen suggestions and proposals for implementing such APIs as core primitives repeatedly shot down.
Ref: https://es.discourse.group/t/atomics-wait-waitasync-as-native-settimeout/1120
It may be worth considering the security implications of this, if you haven't already. (Obviously, SES won't be impacted as it already denies
SharedArrayBuffer
.) Also may be worth considering the philosophical implications of this, as I've seen suggestions and proposals for implementing such APIs as core primitives repeatedly shot down.