diesieben07
05/06/2018, 1:52 PMsuspend function can only be called from within another suspend function (or lambda).
async is a function that takes a suspending lambda (i.e. you can call things like await and other suspending functions inside it) and returns a Deferred (like a CompletableFuture in Java or a Promise in JS).