recoverable_spawn

Type Alias ArcRecoverableFunction

Source
pub type ArcRecoverableFunction<O, F> = Arc<dyn RecoverableFunction<Output = O, Future = F>>;
Expand description

Alias for an Arc-wrapped recoverable function.

  • This type represents an Arc-wrapped version of any function implementing the RecoverableFunction trait.
  • Enables shared ownership and thread-safe usage of recoverable functions in concurrent environments.

Aliased Typeยง

struct ArcRecoverableFunction<O, F> { /* private fields */ }