pub async fn run_parallelly<T>(
future: impl Future<Output = Result<T>> + Send + 'static,
) -> Result<T>where
T: Send + 'static,
Expand description
For use with join! or try_join! Makes the future to run parallelly with other tasks instead of concurrently. See: https://docs.rs/tokio/latest/tokio/macro.try_join.html#runtime-characteristics.