async icon indicating copy to clipboard operation
async copied to clipboard

Run IO operations asynchronously and wait for their results

Results 27 async issues
Sort by recently updated
recently updated
newest added

`Async a` already has instances of `Eq` and `Ord`, which makes it possible to store it in a `Set`, but it has no instance of `Hashable`, so it is not...

*async* has some functions that can be parameterized by optics from *lens*, is this something that is worth adding. ```haskell mapConcurrently :: Traversable t => (a -> IO b) ->...

The obvious way to make Concurrently into a Monad doesn't work, since then Monad would be sequential, but Applicative would be concurrent (whereas Monad is usually supposed to be a...

Hi Simon, This is an attempt to solve #5 by following your suggested approach of changing the semantics of `withAsync` such that if the inner function receives an asynchronous exception...

The new cancel behavior in 2.1.1 has implications for operations like `waitAnyCancel`. These operations will no longer allow threads to teardown concurrently as they wait to cancel the next thread...

Hello, Thanks for sharing the library. Just want to check if you could add a pollAny function? or, if you have any objection to having such a function? Thanks

I was wondering if the following implementation of `concurrently` has been considered before: ``` haskell concurrently :: IO a -> IO b -> IO (a,b) concurrently left right = do...

Actually, I can. But it looks like the main benefit of the using mapConcurrently for me in the case -- the speed up of overall computations disappears, the resulting sorted...

I was debugging a `thread blocked indefinitely on STM Transaction` error recently, which ended up being caused by calling `waitAnyCancel` with an empty list. More recent versions of `async` throw...

Here are some ideas for labeled traversals that I am using to track down a concurrency bug. Let me know if it's useful. This is a drop-in replacement for the...