elizarov
05/22/2017, 4:20 AMvar vas = async(context) { ... } ; var bool = vas.await()
with a shorter and clearer val bool = run(context) { ... }
. There is no reason to introduce a vas
variable if the only thing you are doing is immediately waiting for it.