Created
July 20, 2018 04:07
-
-
Save sdawood/3b88c54dae686924f34305e61ca3627f to your computer and use it in GitHub Desktop.
Async Generator of values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async function* querySequence(table, {keyConditionExpression, expressionAttributeValues, strict = false, limit} = {}, options = {}, params = {}) { | |
| return yield* queryBatches(table, {keyConditionExpression, expressionAttributeValues, strict, limit, flatten: true}, options, params); // see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield* | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment