Atomics class

A namespace for JavaScript's Atomics functions.

Annotations

Constructors

Atomics()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

add(List<int> typedArray, int index, int value) int
@JS('add')
and(List<int> typedArray, int index, int value) int
@JS('and')
compareExchange(List<int> typedArray, int index, int expectedValue, int replacementValue) int
@JS('compareExchange')
exchange(List<int> typedArray, int index, int value) int
@JS('exchange')
isLockFree(int size) bool
@JS('isLockFree')
load(List<int> typedArray, int index) int
@JS('load')
notify(List<int> typedArray, int index, [int count]) int
@JS('notify')
or(List<int> typedArray, int index, int value) int
@JS('or')
store(List<int> typedArray, int index, int value) int
@JS('store')
sub(List<int> typedArray, int index, int value) int
@JS('sub')
wait(List<int> typedArray, int index, int value, [num timeout]) String
@JS('wait')
xor(List<int> typedArray, int index, int value) int
@JS('xor')