digitalsanctum
listOf( CoroutineScope(<http://Dispatchers.IO|Dispatchers.IO>).launch { ddbTools.deleteTableInRegions(destinationTable, destinationRegions) }, CoroutineScope(<http://Dispatchers.IO|Dispatchers.IO>).launch { jobService.deleteJobTable() }, CoroutineScope(<http://Dispatchers.IO|Dispatchers.IO>).launch { jobService.deleteCheckpointTable() }).joinAll()
louiscad
withContext(<http://Dispatchers.IO|Dispatchers.IO>) { launch { … } launch { … } launch { … } } //No need for joinAll() thanks to structured concurrency
A modern programming language that makes developers happier.