async_recoverable_spawn_catch

Function async_recoverable_spawn_catch 

Source
pub async fn async_recoverable_spawn_catch<F, E>(
    function: F,
    error_handle_function: E,
) -> Result<(), JoinError>
Expand description

Spawns a recoverable function with error handling.

§Arguments

  • F - Function implementing AsyncRecoverableFunction.
  • E - Function implementing AsyncErrorHandlerFunction.

§Returns

  • AsyncSpawnResult - The spawn operation result.