An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

shared-resource-cache

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 TChan broadcast channel. Using 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 threads try and retrieve a resource that is not yet cached at the same time.

Ecosystem
hackage.haskell.org
Latest Release
0.2.0.3
1 day ago
Versions
8
Downloads
27 total
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Filter by Kind
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/shared-resource-cache
spec
License MIT
First Release 18 days ago
Last Synced about 15 hours ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub