wait property

({Wait Function(Int32List typedArray, num index, num value, [num? timeout]) $1, WaitOptions Function(BigInt64Array typedArray, num index, int value, [num? timeout]) $2}) get wait

Overload accessor: $1, $2

Implementation

({
  /// If the value at the given position in the array is equal to the provided value, the current
  ///  agent is put to sleep causing execution to suspend until the timeout expires (returning
  ///  `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
  ///  `"not-equal"`.
  _i4.Wait Function(
    _i7.Int32List typedArray,
    _i2.num index,
    _i2.num value, [
    _i2.num? timeout,
  ]) $1,

  /// If the value at the given position in the array is equal to the provided value, the current
  ///  agent is put to sleep causing execution to suspend until the timeout expires (returning
  ///  `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
  ///  `"not-equal"`.
  _i4.WaitOptions Function(
    _i8.BigInt64Array typedArray,
    _i2.num index,
    _i2.int value, [
    _i2.num? timeout,
  ]) $2,
}) get wait => (
      $1: _wait$1,
      $2: _wait$2,
    );