Run an async function safely and return the result (or the thrown error).
Async function to run
Result of the run
Run an async function safely and return the result (or the thrown error).