async: Run IO operations asynchronously and wait for their results

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

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:

Properties

Versions1.0, 1.1, 1.2, 1.3, 1.4, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.1.2, 2.0.1.3, 2.0.1.4, 2.0.1.5, 2.0.1.6, 2.0.2, 2.1.0, 2.1.1, 2.1.1.1, 2.2.1, 2.2.1
Change logchangelog.md
Dependenciesasync, base (>=4.3 && <4.12), hashable (>=1.1.1.0 && <1.3), stm (>=2.2 && <2.5) [details]
LicenseBSD-3-Clause
Copyright(c) Simon Marlow 2012
AuthorSimon Marlow
MaintainerSimon Marlow <marlowsd@gmail.com>
CategoryConcurrency
Home pagehttps://github.com/simonmar/async
Bug trackerhttps://github.com/simonmar/async/issues
Source repositoryhead: git clone https://github.com/simonmar/async.git
Executablesrace, conccancel, concasync
UploadedSun Feb 4 16:37:52 UTC 2018 by SimonMarlow

Modules

[Index]

Flags

NameDescriptionDefaultType
benchDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees