Skip to content

Commit

Permalink
Merge "[FAB-15579] Fix doc for CommonIterator.next()"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Kelsey authored and Gerrit Code Review committed Jun 20, 2019
2 parents 167b53d + f09bb43 commit cd5ed8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fabric-shim/lib/iterators.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ class CommonIterator {
}

/**
* Get the next value and return it through a promise and also emit
* it if event listeners have been registered.
* Get the next value and return it through a promise.
* @async
* @return {promise} a promise that is fulfilled with the next value or
* is rejected otherwise
* @return {promise} a promise that is fulfilled with an object { value: (next value) },
* is fulfilled with an object { done: true } if there is no more value,
* or is rejected if any error occurs.
*/
async next() {
// check to see if there are some results left in the current result set
Expand Down

0 comments on commit cd5ed8f

Please sign in to comment.