I am using an API that gives me chunks of data in ...
# coroutines
p
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)
}