Jeffail/tunny

Best way to wait on pool to finish all sent workloads?

mcandre opened this issue · 1 comments

Should I for { if pool.NumPendingAsyncJobs() == 0 { break } } if I want to wait for all sent workloads to be processed?

(pool *WorkPool) Close() works on my machine!