closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

Adjust typings for Atomics

Open LiviaMedeiros opened this issue 2 years ago • 0 comments

  • Most methods in Atomics work only with unclamped integer-based TypedArrays. In the specs, it's either directly checked by ValidateIntegerTypedArray, or via AtomicReadModifyWrite.

  • Atomics.notify and Atomics.wait require waitable TypedArray which can be BigInt64Array.

LiviaMedeiros avatar Jun 30 '22 07:06 LiviaMedeiros