Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
classy-prelude-conduit ClassyPrelude.Conduit Yield each of the values contained by the given MonoFoldable. This will work on many data structures, including lists, ByteStrings, and Vectors. Subject to fusion
waitAny :: MonadConc m => [Async m a] -> m (Async m a, a)concurrency Control.Concurrent.Classy.Async Wait for any of the supplied Asyncs to complete. If the first to complete throws an exception, then that exception is re-thrown by waitAny. If multiple Asyncs complete or have completed, then the value returned corresponds to the first completed Async in the list.
waitAnyCancel :: MonadConc m => [Async m a] -> m (Async m a, a)concurrency Control.Concurrent.Classy.Async Like waitAny, but also cancels the other asynchronous operations as soon as one has completed.
waitAnyCatch :: MonadConc m => [Async m a] -> m (Async m a, Either SomeException a)concurrency Control.Concurrent.Classy.Async Wait for any of the supplied asynchronous operations to complete. The value returned is a pair of the Async that completed, and the result that would be returned by wait on that Async. If multiple Asyncs complete or have completed, then the value returned corresponds to the first completed Async in the list.
waitAnyCatchCancel :: MonadConc m => [Async m a] -> m (Async m a, Either SomeException a)concurrency Control.Concurrent.Classy.Async Like waitAnyCatch, but also cancels the other asynchronous operations as soon as one has completed.
-
concurrency Control.Concurrent.Classy.Async A version of waitAnyCatch that can be used inside a MonadSTM transaction.
waitAnySTM :: forall (m :: Type -> Type) a . MonadConc m => [Async m a] -> STM m (Async m a, a)concurrency Control.Concurrent.Classy.Async A version of waitAny that can be used inside a MonadSTM transaction.
waitAnyBuffer :: OutputBuffer -> (OutputBuffer, OutputBuffer)concurrent-output System.Console.Concurrent No documentation available.
waitAnyBuffer :: OutputBuffer -> (OutputBuffer, OutputBuffer)concurrent-output System.Console.Concurrent.Internal No documentation available.
CurlTooManyRedirects :: CurlCodecurl Network.Curl.Code No documentation available.