type Pending = Shared<Receiver<Result<()>>>;
Type alias for a future that we wait on to see when a pending channel is done or failed.
struct Pending { /* private fields */ }