Reisishot
06/11/2019, 3:54 PMkeys.forEach { priority ->
get(priority)?.forEachLimitedParallel(callable)
?: throw IllegalStateException("No list found for priority $priority")
}
Dico
06/11/2019, 4:02 PMrunBlocking
with coroutineScope
and make your for each function suspend
Dico
06/11/2019, 4:04 PMlaunch
)Dico
06/11/2019, 4:07 PMReisishot
06/11/2019, 4:08 PMReisishot
06/11/2019, 4:09 PMReisishot
06/11/2019, 4:09 PMReisishot
06/11/2019, 4:12 PMReisishot
06/11/2019, 4:15 PMDico
06/11/2019, 4:48 PM