jwiegley / async-pool

Other
21 stars 13 forks source link

Expose `cancelAll` #21

Open robdockins opened 4 years ago

robdockins commented 4 years ago

I am experimenting with this package and cannot use withTaskGroup for my setting (because I'm in a custom monad). I can reimplement most of it from the outside, except that the cancelAll function isn't exposed. This seems like it is a useful operation on its own, and maybe it's just an oversight that it isn't already in the export list.