A `suspend` function can only be called from withi...
# announcements
d
A
suspend
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).