pub fn try_spawn_blocking<F, T>(
function: F,
) -> Result<JoinHandle<T>, (RuntimeConfigError, F)>Expand description
Submit blocking work without consuming it when the runtime is not accepting work.
Lifecycle owners can retain the returned closure and retry it after start
completes a runtime restart.