kevin.cianfarini
08/04/2018, 3:07 AMapi.getArtists()
is a suspending function itself so I haven't quite figured out how to overcome that yet since buildIterator
is not a suspending contextDominaezzz
08/04/2018, 10:17 AMbuildIterator
. Just build a list yourself.producer
.kevin.cianfarini
08/04/2018, 6:41 PMproducer
, thanks!Dominaezzz
08/04/2018, 7:47 PMproduce
function in the kotlinx.coroutines library.