If you define a function that does something long,...
# codingconventions
e
If you define a function that does something long, but instead of suspending or blocking, it immediately returns a future, then suffix its name with
Async
. In summary: *
send
— suspending *
sendBlocking
— blocks a thread *
sendAsync
— immediately returns a future
👍 8
👌 2