Class: Iterator

Iterator()

new Iterator()

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

Methods

close() → {module:promise.Promise}

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

next() → {module:promise.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
module:promise.Promise.<IteratorNext>