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 AMDominaezzz
08/04/2018, 10:20 AMbuildIterator
. Just build a list yourself.Dominaezzz
08/04/2018, 10:21 AMproducer
.kevin.cianfarini
08/04/2018, 6:41 PMproducer
, thanks!kevin.cianfarini
08/04/2018, 7:13 PMDominaezzz
08/04/2018, 7:47 PMproduce
function in the kotlinx.coroutines library.