* iterator () {
    while ((this.index + 1) < this.length) {
      // Increment the sample to the next one with valid data
      while (((this.index + 1) < this.length) && !this.input.infos.isValid(this.index + 1)) {
        this.index += 1
      }
      if ((this.index + 1) < this.length) {
        this.index += 1
        yield this
      }
    }
  }
/**
   * The iterator generator (used by the iterable).
   *
   * Using this method, it is possible to create your own iterable::
   *
   *  const iterator = input.samples.validDataIter.iterator()
   *  const singleSample = iterator.next().value
   *
   * @generator
   * @yields {ValidSampleIterator} The next sample in the queue with valid data
   */
The iterator generator (used by the iterable).
Using this method, it is possible to create your own iterable:.



@generator
@yields {ValidSampleIterator} The next sample in the queue with valid data
The iterator generator ( used by the iterable ) . Using this method it is possible to create your own iterable : . @generator @yields { ValidSampleIterator } The next sample in the queue with valid data
* iterator () {
    while ((this.index + 1) < this.length) {
      while (((this.index + 1) < this.length) && !this.input.infos.isValid(this.index + 1)) {
        this.index += 1
      }
      if ((this.index + 1) < this.length) {
        this.index += 1
        yield this
      }
    }
  }
* iterator ( ) { while ( ( this . index + 1 ) < this . length ) { while ( ( ( this . index + 1 ) < this . length ) && ! this . input . infos . isValid ( this . index + 1 ) ) { this . index += 1 } if ( ( this . index + 1 ) < this . length ) { this . index += 1 yield this } } }
The iterator generator (used by the iterable).
The iterator generator ( used by the iterable ) .
// Increment the sample to the next one with valid data