This commit is contained in:
Andras Slemmer 2018-06-04 17:03:10 +01:00
parent d375875054
commit 8c1ea4a61d

View File

@ -30,7 +30,7 @@ class SummingOperationThrowing(val a: Int, val b: Int) : FlowAsyncOperation<Int>
class ExampleSummingFlow : FlowLogic<Int>() {
@Suspendable
override fun call(): Int {
val answer = executeAsync(SummingOperationThrowing(1, 2))
val answer = executeAsync(SummingOperation(1, 2))
return answer // hopefully 3
}
}