Atomics class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

Atomics({bool isLockFree(num)?})
factory

Properties

add → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
and → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
compareExchange → ({num Function(Object typedArray, num index, num expectedValue, num replacementValue) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int expectedValue, int replacementValue) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
exchange → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
hashCode int
The hash code for this object.
no setterinherited
isLockFree bool Function(num)

Available on Atomics, provided by the Atomics$Typings extension

getter/setter pair
load → ({num Function(Object typedArray, num index) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
notify → ({num Function(Int32List typedArray, num index, [num? count]) $1, num Function(BigInt64Array typedArray, num index, [num? count]) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
or → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
sub → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
wait → ({Wait Function(Int32List typedArray, num index, num value, [num? timeout]) $1, WaitOptions Function(BigInt64Array typedArray, num index, int value, [num? timeout]) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
waitAsync → ({WaitAsync Function(Int32List typedArray, num index, num value, [num? timeout]) $1, WaitAsyncCommon Function(BigInt64Array typedArray, num index, int value, [num? timeout]) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter
xor → ({num Function(Object typedArray, num index, num value) $1, int Function(_IterableLike$<IterableIterator<int>> typedArray, num index, int value) $2})

Available on Atomics, provided by the Atomics$Typings extension

Overload accessor: $1, $2
no setter

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