@ebel As long as you're using the async/await syntax, it's virtually no different that sync code.
You await on async functions, within an async function, with the `await` postfix after the function call. Async functions return futures which you provide to a runtime for execution in non-async functions.
It's a good idea to check out the async-std and runtime crates.
@mmstick yeah, I kinda get that it's supposed to be as easy to use. I've just never used it. I'd like to try to *grok* it. "Fearless concurrency" is supposed to be an advantage, and I'd like to keep up to date
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!