• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package kotlinx.coroutines.test
2 
testResultChainnull3 actual fun testResultChain(block: () -> TestResult, after: (Result<Unit>) -> TestResult): TestResult =
4     block().then(
5         {
6             after(Result.success(Unit))
7         }, {
8             after(Result.failure(it))
9         })
10