anthonyeef
08/11/2017, 3:44 AMasync.await() result inside the same async method’s invokeOnCompletion scope? Or should I do something like:
val asyncJob = async(CommonPool) {
getSomeResult()
}
val result = asyncJob.await()
asyncJob.invokeOnCompletion {
doSomethingWithResult(result)
}
?