recoverable_spawn

Function recoverable_spawn 

Source
pub fn recoverable_spawn<F>(function: F) -> Result<(), Box<dyn Any + Send>>
Expand description

Spawns a recoverable function.

§Arguments

  • F - Function implementing RecoverableFunction.

§Returns

  • SyncSpawnResult - The spawn operation result.