Name : ghc-async
| |
Version : 2.2.4
| Vendor : Fedora Project
|
Release : 1.el9
| Date : 2022-09-02 14:23:00
|
Group : Unspecified
| Source RPM : ghc-async-2.2.4-1.el9.src.rpm
|
Size : 0.15 MB
| |
Packager : Fedora Project
| |
Summary : Run IO operations asynchronously and wait for their results
|
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\').
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/epel/9.1.2023-05-09/Everything/x86_64/Packages/g |