Wraps an async function to catch any exceptions inside and return a Result tuple with the value and error, if any.
A new function that awaits the given function and returns the result tuple.
The async function to await.
Generated using TypeDoc
Wraps an async function to catch any exceptions inside and return a Result tuple with the value and error, if any.
Returns
A new function that awaits the given function and returns the result tuple.