async_recoverable_spawn

Function async_recoverable_spawn 

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

Spawns a recoverable function.

§Arguments

  • F - Function implementing AsyncRecoverableFunction.

§Returns

  • AsyncSpawnResult - The spawn operation result.