mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
make last para of Actomics.notify optional.
This commit is contained in:
parent
f4872eb493
commit
df772327fe
5
src/lib/es2017.sharedmemory.d.ts
vendored
5
src/lib/es2017.sharedmemory.d.ts
vendored
@ -102,8 +102,11 @@ interface Atomics {
|
||||
/**
|
||||
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
||||
* number of agents that were awoken.
|
||||
* @param typedArray A shared Int32Array.
|
||||
* @param index The position in the typedArray to wake up on.
|
||||
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
|
||||
*/
|
||||
notify(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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user