Christian S.
01/26/2021, 2:38 PMdef results = []
BuildersKt.runBlocking(EmptyCoroutineContext.INSTANCE) {
sut.createFlow(someArg).collect { results << it }
}
I have found this SO post but haven't discovered a simpler solution, yet. Can someone please help me out? Thanks!Christian S.
01/29/2021, 9:08 PMelizarov
03/01/2021, 7:46 AM