hsdev-0.1.2.2: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Async

Synopsis

Documentation

data Event a Source

Event on async value

Constructors

Append a 
Remove a 
Clear 
Modify (a -> a) 
Action (a -> IO a) 

event :: Group a => Event a -> a -> IO a Source

Event to function

data Async a Source

Constructors

Async 

Fields

asyncVar :: MVar a
 
asyncEvents :: Chan (Event a)
 

newAsync :: (NFData a, Group a) => IO (Async a) Source

modifyAsync :: Async a -> Event a -> IO () Source