-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A Cached variable for IO functions. -- -- This package allows for caching IO functions, either on a timeout or -- designed to only fetch once. @package Concurrent-Cache @version 0.1.0.0 module Control.Concurrent.Cache data CachedData a -- | Fetch data from a cache fetch :: CachedData a -> IO (a) -- | Create a cache with a timeout from an (IO ()) function. createCache :: Int -> IO (a) -> IO (CachedData a)