mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
duplicate wait instead of wait and notify
original was ``` notify(typedArray: Int32Array, index: number, count: number): number; ``` it seems to be a mistake, the real method is `notify` (the first wait is fine) https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/notify
This commit is contained in:
parent
a139303413
commit
490f69f984
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…
x
Reference in New Issue
Block a user