Skip to main content

sequential

Function sequential 

Source
pub async fn sequential<T, R, F>(items: T, f: F) -> Vec<R>
where T: IntoIterator<Item = R>, F: FnMut(R) -> Pin<Box<dyn Future<Output = R> + Send>>, R: Debug,
Expand description

Run async functions sequentially, waiting for each to complete before starting the next.