Moduleasync-2.2.6Haskell2010
Control.Concurrent.Async.Warden
A more flexible way to create Asyncs and have them automatically cancelled when the Warden is shut down.
Synopsis
- newtype Warden
- value withWarden
- value create
- value shutdown
- value spawn
- value spawn_
- value spawnMask
- newtype WardenException
- Packageasync-2.2.6
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceWarden.hs
Create a new Warden.
Spawn a new thread owned by the Warden.
Spawn a new thread owned by the Warden.
Spawn a thread with masked exceptions and pass an unmask function to the action.
Constructors
Instances2Show, Exception
Show WardenExceptionDefined in async-2.2.6 · Control.Concurrent.Async.WardenException WardenExceptionDefined in async-2.2.6 · Control.Concurrent.Async.Warden