Run IO operations asynchronously and wait for their results
37.18 KB
built 2026-10-13 23:19:49 GMT
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').
Dependencies
10 totalRequires8
- ghc-Cabal-devel
- ghc-base-devel
- ghc-hashable-devel
- ghc-rpm-macros
- ghc-stm-devel
- ghc-unordered-containers-devel
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- ghc-async = 2.2.6-2.fc45
- ghc-async-devel = 2.2.6-2.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| async-2.2.6.tar.gz | 18.55 KB |
| ghc-async.spec | 9.36 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
