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:
commit
caa8dc25a8
1 changed files with 2 additions and 2 deletions
4
src/lib/es2017.sharedmemory.d.ts
vendored
4
src/lib/es2017.sharedmemory.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue