function GeneratedIterator(sequence) {
    this.sequence     = sequence;
    this.index        = 0;
    this.currentValue = null;
  }
Iterates over a generated sequence. (This allows generated sequences to be
iterated asynchronously.)

@param {GeneratedSequence} sequence The generated sequence to iterate over.
@constructor