packages feed

shared-resource-cache 0.2.0.2 → 0.2.0.3

raw patch · 1 files changed

+3/−3 lines, 1 files

Files

shared-resource-cache.cabal view
@@ -5,11 +5,11 @@ -- see: https://github.com/sol/hpack  name:           shared-resource-cache-version:        0.2.0.2+version:        0.2.0.3 synopsis:       A thread-safe cache for sharing resources across threads with automatic expiry description:    A cache designed for guaranteeing that different threads can share the same reference to a resource. For example, it allows threads to communicate via a shared-                <<https://hackage.haskell.org/package/stm-2.5.3.1/docs/Control-Concurrent-STM-TChan.html TChan broadcast channel>>. -                Using <<https://hackage.haskell.org/package/resourcet resourcet>>, items are only removed from the cache after no 'sharers' are holding the+                [TChan broadcast channel](https://hackage.haskell.org/package/stm-2.5.3.1/docs/Control-Concurrent-STM-TChan.html).+                Using [resourcet](https://hackage.haskell.org/package/resourcet), items are only removed from the cache after no 'sharers' are holding the                 resource and the item has expired (according to the expiry configuration the cache was constructed with.)                 .                 Note: an MVar is used to coordinate between threads that only one thread does the initial load of the resource with the given IO action if multiple