Copyright | (c) 2025 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
GeniusYield.Types.DataStore
Description
Synopsis
- data GYDataStore a = GYDataStore {}
- fetchFromDataStore ∷ StrictMVar IO (GYDataStore a) → IO a
- type GYDataStoreVar a = StrictMVar IO (GYDataStore a)
- mkDataStoreVar ∷ GYDataStore a → IO (GYDataStoreVar a)
Documentation
data GYDataStore a #
A data store to cache data and refetch it after a certain time.
Constructors
GYDataStore | |
Fields
|
fetchFromDataStore ∷ StrictMVar IO (GYDataStore a) → IO a #
type GYDataStoreVar a = StrictMVar IO (GYDataStore a) #
mkDataStoreVar ∷ GYDataStore a → IO (GYDataStoreVar a) #