summaryrefslogtreecommitdiff
blob: e34a2487ed0f50710a72cabf12449c5eff2035c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
	</maintainer>
	<longdescription>
		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').
		
		Changes in 2.0.1.3:
		
		* Bump @base@ dependency to allow 4.6
		
		Changes in 2.0.1.2:
		
		* Bump @stm@ dependency to 2.4
		
		Changes in 2.0.1.1:
		
		* Safe Haskell support: @Control.Concurrent.Async@ is now @Trustworthy@
		
		Changes in 2.0.1.0:
		
		* Added a @Functor@ instance for @Async@
		
		* Added @asyncBound@, @asyncOn@, @asyncWithUnmask@, @asyncOnWithUnmask@, @withAsyncBound@, @withAsyncOn@, @withAsyncWithUnmask@, @withAsyncOnWithUnmask@.
		
		* Added @mapConcurrently@
		
		* Added @Concurrently@ (with @Applicative@ and @Alternative@ instances)
	</longdescription>
	<upstream>
		<remote-id type="github">simonmar/async</remote-id>
	</upstream>
</pkgmetadata>