Tim Büthe
11/20/2018, 8:46 AMe5l
11/20/2018, 8:49 AMval results = listOf(
async { client.get<String>(...) },
async { client.get<String>(...) }
).awaitAll()
Tim Büthe
11/20/2018, 8:57 AMrifatdover
11/20/2018, 12:04 PMrifatdover
11/20/2018, 12:07 PMrifatdover
11/20/2018, 12:08 PMfitzoh
11/20/2018, 1:06 PMTim Büthe
11/20/2018, 1:11 PMTim Büthe
11/20/2018, 1:12 PMe5l
11/20/2018, 1:13 PMfitzoh
11/20/2018, 4:39 PMfitzoh
11/20/2018, 4:39 PMYou can decorate any Supplier / Runnable / Function or CheckedRunnable / CheckedFunction function with CircuitBreaker.decorateCheckedSupplier(), CircuitBreaker.decorateCheckedRunnable() or CircuitBreaker.decorateCheckedFunction().
fitzoh
11/20/2018, 4:40 PMsupplier
variant probably/might run in the same threadfitzoh
11/20/2018, 4:41 PMrifatdover
11/20/2018, 6:36 PM