Class: Iterator

Iterator()

new Iterator()

Iterator instance returned by completed promise from Client.iterator() calls.
Since:
  • 0.3
Source:

Methods

close() → {Promise}

Close the iteration.
Since:
  • 0.3
Source:
Returns:
A Promise which will be completed once the iteration has been closed.
Type
Promise

next() → {Promise.<IteratorNext>}

Returns the next entry being iterated over.
Since:
  • 0.3
Source:
Returns:
It returns a Promise which will be completed with an instance that provides the next element.
Type
Promise.<IteratorNext>