08. Concurrency
8.1 Don’t Decorate Functions with Async
Avoid decorating
<suspends>
functions withAsync
or similar terms.Do:
Don't:
It’s acceptable to add the
Await
prefix to a<suspends>
function that internally waits on something to happen. This can clarify how an API is supposed to be used.
Was this helpful?