spawn-wait 0.2.2

Spawn and manage a set of processes each associated with a key, and wait on all or part of them simultaneously.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{fmt::Debug, io};

use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
  #[error("Failed to spawn process: {0}")]
  UnableToSpawnProcess(#[source] io::Error),
  #[error("Wait failed")]
  WaitFailed(#[source] io::Error),
}