Created
July 18, 2019 20:59
-
-
Save clementf/b894fdeca63a22f73f1c6c580432eaea to your computer and use it in GitHub Desktop.
Markdium-Iterator, how to handle paginated APIs in Crystal, with lazy loading
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
| Playlist.new(playlist_id).tracks.each { |track| | |
| puts "Track name is #{track.name}" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment