nerses
10/01/2018, 8:15 PMrepeat(1000) { loadAndCombine() }
will take 1000 seconds
repeat(1000) { launch { loadAndCombine() }}
will take 1 second
my question is whether wrapping it with launch
is the “correct” way of doing thisgildor
10/01/2018, 11:37 PMnerses
10/02/2018, 7:03 AMgildor
10/02/2018, 7:04 AM