Spawns a new thread to run the provided function function in a recoverable manner.
If the function function panics during execution, the panic will be caught, and the thread
will terminate without crashing the entire program.
Spawns an asynchronous recoverable function, catches any errors with an error-handling function,
and ensures that a final function is always executed, regardless of whether an error occurred.
Spawns a new thread to run the provided function function in a recoverable manner.
If the function function panics during execution, the panic will be caught, and the thread
will terminate without crashing the entire program.
Spawns an asynchronous recoverable function, catches any errors with an error-handling function,
and ensures that a final function is always executed, regardless of whether an error occurred.