simonmar / async

Run IO operations asynchronously and wait for their results
BSD 3-Clause "New" or "Revised" License
323 stars 65 forks source link

Expose internals #137

Open parsonsmatt opened 2 years ago

parsonsmatt commented 2 years ago

I'm working on an abstraction library for forking threads, and want to provide an async compatibility module for it.

Unfortunately, I cannot do this - the Async constructor is hidden, as is the asyncUsing function which I could use to construct it.

It would be Cool if the internals were avaiable in Control.Concurrent.Async.Internal.