Function aggregate_results

Source
pub async fn aggregate_results<F, T>(
    tasks: Vec<F>,
) -> Vec<Result<T, AsyncSyncError>>
where F: Fn() -> T + Send + 'static, T: Send + 'static,