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).
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | hs-async-2.2.5nb1.tgz |
NetBSD 10.0 | aarch64 | hs-async-2.2.5nb1.tgz |
NetBSD 10.0 | x86_64 | hs-async-2.2.5nb1.tgz |
NetBSD 10.0 | x86_64 | hs-async-2.2.5nb1.tgz |
NetBSD 9.0 | aarch64 | hs-async-2.2.5nb1.tgz |
NetBSD 9.0 | aarch64 | hs-async-2.2.5nb1.tgz |
NetBSD 9.0 | x86_64 | hs-async-2.2.5nb1.tgz |
NetBSD 9.0 | x86_64 | hs-async-2.2.5nb1.tgz |
NetBSD 9.3 | x86_64 | hs-async-2.2.5nb1.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.