Join Slack
Powered by
I am using an API that gives me chunks of data in ...
# coroutines
p
poohbar
10/19/2019, 8:28 PM
I am using an API that gives me chunks of data in callbacks. How would I transform that to a kotlin Sequence? The call looks somewhat like this
Copy code
getData(query, 1000) { data -> println(data) }
2
Views
Open in Slack
Previous
Next