waitgroup 0.1.1

async waitgroup for a collection of task to finish
Documentation
# waitgroup


A WaitGroup waits for a collection of task to finish. 

## Examples


```rust
use waitgroup::WaitGroup;
use async_std::task;
async {
	let wg = WaitGroup::new();
	for _ in 0..100 {
		let w = wg.worker();
		task::spawn(async move {
			// do work
			drop(w); // drop d means task finished
		};
	}

	wg.wait().await;
}
```
# License


This project is licensed under Apache License, Version 2.0 ([LICENSE](LICENSE) ).