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,
Run async functions sequentially, waiting for each to complete before starting the next.