Package2.2.5Concurrency
async
Run IO operations asynchronously and wait for their results
- Version2.2.5
- CategoryConcurrency
- LicenceBSD-3-Clause
- AuthorSimon Marlow
- MaintainerSimon Marlow <marlowsd@gmail.com>
- Homepagegithub.com/simonmar/async
- Pinned byhackage async 2.2.5
- Sourcehackage.haskell.org/package/async-2.2.5
Modules
2 modules- Control.Concurrent.Async58This module provides a set of operations for running IO operations
Internal modules · 1
- Control.Concurrent.Async.Internal66This module is an internal module. The public API is provided in
Description
This package provides a higher-level interface over threads, in which an Async a is a concurrent thread that will eventually deliver a value of type a. The package provides ways to create Async computations, wait for their results, and cancel them.
Using Async is safer than using threads in two ways:
When waiting for a thread to return a result, if the thread dies with an exception then the caller must either re-throw the exception (wait) or handle it (waitCatch); the exception cannot be ignored. The API makes it possible to build a tree of threads that are automatically killed when their parent dies (see withAsync).
Depends on
3 packages- base-4.20.2.0with GHC
- hashable-1.4.7.0in this set
- stm-2.5.3.1with GHC
Used by in this set · 32
- Agda-2.7.0.1
- async-timer-0.2.0.0
- cabal-install-3.12.1.0
- concurrent-output-1.10.21
- conduit-extra-1.3.8
- dns-4.2.0
- effectful-2.3.0.0
- grapesy-1.1.1
- hedgehog-1.7
- hedis-0.15.2
- http-client-0.7.19
- http2-5.3.10
- katip-0.8.8.0
- lifted-async-0.11.0
- polysemy-1.9.2.0
- polysemy-zoo-0.8.2.0
- poolboy-0.2.2.0
- procex-0.3.3
- servant-websockets-2.0.0
- shelly-1.12.1
- statistics-0.16.3.0
- store-0.7.20
- streaming-commons-0.2.3.0
- sydtest-0.22.0.0
- tasty-golden-2.3.5
- tmp-postgres-1.35.0.0
- turtle-1.6.2
- typed-process-0.2.13.0
- unliftio-0.2.25.1
- vcr-0.1.0
- warp-3.4.9
- websockets-0.13.0.0