Merge pull request #29115 from KromDaniel/patch-1

Duplicate `wait` instead of `wait` and `notify` at `es2017.sharedmemory.d.ts`
This commit is contained in:
Ryan Cavanaugh
2019-01-30 19:12:46 -08:00
committed by GitHub

View File

@@ -103,7 +103,7 @@ interface Atomics {
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
* number of agents that were awoken.
*/
wake(typedArray: Int32Array, index: number, count: number): number;
notify(typedArray: Int32Array, index: number, count: number): number;
/**
* Stores the bitwise XOR of a value with the value at the given position in the array,
@@ -115,4 +115,4 @@ interface Atomics {
readonly [Symbol.toStringTag]: "Atomics";
}
declare var Atomics: Atomics;
declare var Atomics: Atomics;