dave08
12/26/2018, 2:39 PMval client = mockk<FilePartDownloadClient> {
coEvery { download(any(), any(), any(), any()) } coAnswers {
progress.forEach { curr -> arg<SendChannel<Long>>(3).offer(curr) }
}
Unit
}
And I want the download
function to return after having sent all the progress values, how could I do that (its return type is Unit)? This currently hangs forever...