This came as a suggestion from fintohaps on the following snippet.
term::info!("Creating the pipeline");
let result = self.api.create_pipeline(project_name, patch_branch, patch_head, &project_id, git_uri).await;
// TODO: Poll until pipeline is created
sleep(Duration::from_secs(10)).await;
This came as a suggestion from fintohaps on the following snippet.