Leon K
02/21/2020, 2:30 PMasync {}
coroutine builder and then create a list (of say, max 100 elements) from the resulting `deferred`s, then .awaitAll()
and process them. do this for as many entries as you need, maybe by chunking your entries into blocks of max-length 100 before an then just
map { async { api.fetchEntry(it) } }.awaitAll()
frogger
02/21/2020, 2:58 PMLeon K
02/21/2020, 3:03 PMfrogger
02/21/2020, 3:42 PMbuffer()
in the flow api works similar.