waitAsync property

({WaitAsync Function(Int32List typedArray, num index, num value, [num? timeout]) $1, WaitAsyncCommon Function(BigInt64Array typedArray, num index, int value, [num? timeout]) $2}) get waitAsync

Overload accessor: $1, $2

Implementation

({
  /// A non-blocking, asynchronous version of wait which is usable on the main thread.
  ///  Waits asynchronously on a shared memory location and returns a Promise
  ///  @param typedArray A shared Int32Array or BigInt64Array.
  ///  @param index The position in the typedArray to wait on.
  ///  @param value The expected value to test.
  ///  @param [timeout] The expected value to test.
  _i4.WaitAsync Function(
    _i7.Int32List typedArray,
    _i2.num index,
    _i2.num value, [
    _i2.num? timeout,
  ]) $1,

  /// A non-blocking, asynchronous version of wait which is usable on the main thread.
  ///  Waits asynchronously on a shared memory location and returns a Promise
  ///  @param typedArray A shared Int32Array or BigInt64Array.
  ///  @param index The position in the typedArray to wait on.
  ///  @param value The expected value to test.
  ///  @param [timeout] The expected value to test.
  _i4.WaitAsyncCommon Function(
    _i8.BigInt64Array typedArray,
    _i2.num index,
    _i2.int value, [
    _i2.num? timeout,
  ]) $2,
}) get waitAsync => (
      $1: _waitAsync$1,
      $2: _waitAsync$2,
    );