is there a way I can touch `async.await()` result ...
# coroutines
a
is there a way I can touch
async.await()
result inside the same
async
method’s
invokeOnCompletion
scope? Or should I do something like:
Copy code
val asyncJob = async(CommonPool) {
        getSomeResult()
}
val result = asyncJob.await()
asyncJob.invokeOnCompletion {
        doSomethingWithResult(result)
}
?