Atomics class abstract

A namespace for JavaScript's Atomics functions.

Annotations
  • @JS()

Constructors

Atomics()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
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
and(List<int> typedArray, int index, int value) int
compareExchange(List<int> typedArray, int index, int expectedValue, int replacementValue) int
exchange(List<int> typedArray, int index, int value) int
isLockFree(int size) bool
load(List<int> typedArray, int index) int
notify(List<int> typedArray, int index, [int count]) int
or(List<int> typedArray, int index, int value) int
store(List<int> typedArray, int index, int value) int
sub(List<int> typedArray, int index, int value) int
wait(List<int> typedArray, int index, int value, [num timeout]) String
xor(List<int> typedArray, int index, int value) int