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
launch
)Reisishot
06/11/2019, 4:08 PMDico
06/11/2019, 4:48 PM