lifetimes-0.2.0.0: Flexible manual resource management
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lifetimes.Async

Description

 
Synopsis

Documentation

acquireAsync :: IO a -> Acquire (Async a) Source #

Spawn an async task. When it is time to reclaim the resource, cancel will be called.