lifetimes-0.2.0.1: 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, and the task will be waited on.