Run IO operations asynchronously and wait for their results
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).
-
Devel package for openSUSE:Factory
-
1 derived packages
-
Download package
Source Files
Filename | Size | Changed | Actions |
---|---|---|---|
async-2.1.1.1.tar.gz | 000001060810.4 KB | 149260904630 days ago | |
ghc-async.changes | 00000027862.72 KB | 149260904630 days ago | |
ghc-async.spec | 00000028382.77 KB | 149260904730 days ago |
Latest Revision
synchronize with lts:8 from configuration b950efb4c58ed112fa0f89869a729559002adce9