kevindmoore
06/15/2021, 4:22 PMephemient
06/15/2021, 4:27 PMkevindmoore
06/15/2021, 4:32 PMkevindmoore
06/15/2021, 4:33 PMephemient
06/15/2021, 4:40 PMrunBlocking
e.g. UI main thread blocking bad, console main thread blocking (generally) okCLOVIS
06/15/2021, 4:56 PMmyList.stream()
.parallel()
.map { runBlocking { ... } }
ephemient
06/15/2021, 5:01 PMmyList.map { async { ... } }.awaitAll()
which handles cancellation betterCLOVIS
06/15/2021, 5:04 PMgildor
06/16/2021, 12:11 AM