Last active
November 20, 2018 14:30
-
-
Save olbpetersson/634b8f75397ccf306cb287f4c5c10558 to your computer and use it in GitHub Desktop.
This file contains 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
do { | |
val items = get1000Items(lastEvaluatedKey) | |
items.forEach() { | |
httpClient.doCall() | |
} | |
lastEvaluatedKey = items.getLastEvaluatedKey() | |
} while(lastEvaluatedKey != null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment